![]() ![]() Below, we explain a couple of use-cases where these might come in handy – but first, let’s see a list of all CMake options available: Each of them can be appended to the above CMake command with -D= where value is usually either ON or OFF (unless it is a path, in which case it is a path). TRex compilation using CMake offers switches to customize your build. If compilation succeeds, you should now be able to run TRex and TGrabs from the command-line, within the environment selected during compilation. To compile in a different mode, simply run cmake -build. The compile scripts will attempt to compile the software in Release mode. Regarding switches, TRex offers a couple of additional options, with which you can decide to either compile libraries on your own or use existing ones in your system/environment path – see next section. You can also modify them, and add switches to the cmake commands. trex_build_windows.bat) or execute cmake yourself with custom settings (have a look at the compile script for your platform for inspiration). ![]() Within the environment, go to the trex/Application/build repository (created in the previous step) and execute the compile script for your platform (on a Unix system. The required CMake command varies slightly depending on the operating system. Now we have to generate the project files for the given platform and compiler. com / mooch443 / trex cd trex / Application mkdir build cd build
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |