2a2faa73ea
This file doesn't need to be created initially, as it will be done automatically during the build, but it does need to be updated whenever setup0.h changes, so explain this in both the README-GIT.md file and the main build instructions. Closes #18699.
19 lines
890 B
Markdown
19 lines
890 B
Markdown
Building from Git Sources
|
|
-------------------------
|
|
|
|
Please use `--recurse-submodules` option with the initial `git clone`. If you
|
|
had already cloned the repository without this option, please run `git
|
|
submodule update --init` to also get all 3rd party libraries code.
|
|
|
|
If you get errors about "wxUSE_XXX must be defined" when building, it
|
|
probably means that you need to copy the new options added to the file
|
|
`include/wx/msw/setup0.h` to `include/wx/msw/setup.h`. If you had never
|
|
modified the latter, it's safe to just delete it, as it will be created
|
|
by copying `setup0.h` during the next build.
|
|
|
|
Otherwise, building from Git checkout is not different from building
|
|
from the sources include into the releases, so please follow the usual
|
|
instructions in the port-specific files, such as
|
|
[wxMSW](docs/msw/install.md), [wxGTK](docs/gtk/install.md),
|
|
[wxOSX](docs/osx/install.md) and so on.
|