Correct wx/msw/setup.h instructions in the documentation
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.
This commit is contained in:
parent
335565076e
commit
2a2faa73ea
2 changed files with 22 additions and 16 deletions
|
|
@ -5,13 +5,14 @@ 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.
|
||||
|
||||
Before building from Git sources under Windows, you need to copy the
|
||||
file `include/wx/msw/setup0.h` to `include/wx/msw/setup.h`. This is
|
||||
necessary in order to allow having local modifications to the latter
|
||||
file without showing it as modified, as it is not under version
|
||||
control.
|
||||
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.
|
||||
|
||||
After doing this, please proceed with the build as with any official
|
||||
release, i.e. follow the instructions in the port-specific files, e.g.
|
||||
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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue