This commit is contained in:
Paul Reeves 2023-02-06 13:38:18 +01:00
parent 489cacaec5
commit b50c3c215b
2 changed files with 4 additions and 4 deletions

1
.gitignore vendored
View File

@ -8,3 +8,4 @@
/build/x86_64-windows/CMakeFiles/
/build/x86_64-linux/CMakeFiles/
/build/x86_64-linux/CMakeCache.txt
/build/x86_64-win64/CMakeFiles/

View File

@ -19,16 +19,15 @@ Run the cmake gui and fill in the path information. Set the source to the root o
![cmake - pre-config](docs/images/cmake_before_config.png "cmake pre-config")
Click on Configure to generate the default config for the current platform. When prompted choose the `Unix makefiles` generator for linux. Under Windows choose and `Visual Studio 15 2017` and be sure to for windows. (In general it is preferable to use the same compiler as the version of Firebird. Otherwise it may be necessary to ship additional run-time libraries.)
Click on Configure to generate the default config for the current platform. This will open a dialogue. When prompted choose the `Unix makefiles` generator for linux. Under Windows choose `Visual Studio 15 2017` and be sure to set the `Optional platform for generator` to x64 for windows as in the screenshot below:
![cmake - windows generator](docs/images/cmake_generate_options_windows.png "cmake windows generator")
You should then see a screen like this:
Click on `Finish` and you should then see a screen similar to this:
![cmake - config](docs/images/cmake_config.png "cmake config")
The only change needed at this stage is to set `CMAKE_BUILD_TYPE to `Debug`
Under linux the only change needed at this stage is to set `CMAKE_BUILD_TYPE to `Debug`. Under Windows there should be nothing further to do.
You can then click on `Generate` and you should end up with a screen similar to this: