mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-14 01:04:38 +03:00
Documentation: Make serenity.includes more easily copyable
This commit is contained in:
parent
7562cf5157
commit
b3d04b3a3c
Notes:
sideshowbarker
2024-07-18 23:48:24 +09:00
Author: https://github.com/BenWiederhake Commit: https://github.com/SerenityOS/serenity/commit/b3d04b3a3ca Pull-request: https://github.com/SerenityOS/serenity/pull/4943 Reviewed-by: https://github.com/linusg Reviewed-by: https://github.com/nico Reviewed-by: https://github.com/predmond Reviewed-by: https://github.com/xspager
@ -15,7 +15,22 @@ First, make sure you have a working toolchain and can build and run SerenityOS.
|
||||
* Edit the `serenity.config` file (In Qt Creator, hit ^K or CMD+K on a Mac to open the search dialog, type the name of the file and hit return to open it)
|
||||
* Add the following `#define`s to the file: `DEBUG`, `SANITIZE_PTRS`, and `KERNEL`. Depending on what you are working on, you need to have that last define commented out. If you're planning on working in the userland, comment out `#define KERNEL`. If you're working on the Kernel, then uncomment `#define KERNEL`.
|
||||
* Edit the `serenity.cxxflags` file to say `-std=c++2a -m32`
|
||||
* Edit the `serenity.includes` file, add the following lines: `.`, `..`, `../..`, `Userland/Services/`, `Userland/Libraries/`, `Userland/Libraries/LibC/`, `Userland/Libraries/LibPthread/`, `Userland/Libraries/LibM/`, `Toolchain/Local/i686/i686-pc-serenity/include/c++/10.2.0`, `Build/Userland/Services/`, `Build/Userland/Libraries/`, `AK/`
|
||||
* Edit the `serenity.includes` file, add the following lines:
|
||||
|
||||
```
|
||||
.
|
||||
..
|
||||
../..
|
||||
Userland/Services/
|
||||
Userland/Libraries/
|
||||
Userland/Libraries/LibC/
|
||||
Userland/Libraries/LibPthread/
|
||||
Userland/Libraries/LibM/
|
||||
Toolchain/Local/i686/i686-pc-serenity/include/c++/10.2.0
|
||||
Build/Userland/Services/
|
||||
Build/Userland/Libraries/
|
||||
AK/
|
||||
```
|
||||
|
||||
Qt Creator should be set up correctly now, go ahead and explore the project and try making changes. Have fun! :^)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user