This commit is contained in:
Paul Reeves 2023-02-06 13:30:21 +01:00
parent 4923a4f71e
commit 489cacaec5
2 changed files with 6 additions and 3 deletions

View File

@ -15,11 +15,14 @@ MY_FIRST_UDR_KIT
### Setting up cmake
Run the cmake gui and fill in the path information. Set the source to the root of the location where you have cloned the repo. CMake looks for the file `CMakeLists.txt`. Binaries will be built under `build/x86_64-windows` and `build/x86_64-linux` for linux.
Run the cmake gui and fill in the path information. Set the source to the root of the location where you have cloned the repo. CMake looks for the file `CMakeLists.txt`. Binaries will be built under `build/x86_64-win64` and `build/x86_64-linux` for linux.
![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 and `Visual Studio 2019`or later for windows
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.)
![cmake - windows generator](docs/images/cmake_generate_options_windows.png "cmake windows generator")
You should then see a screen like this:
@ -39,7 +42,7 @@ If you want to start again be sure to click on `FILE|DELETE CACHE`
### Building the kit
```
cd builds
cd build/x86_64-linux
make
```

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB