jit_blocks 0.1.0
|
This project doesn't require any special command-line flags to build to keep things simple.
Here are the steps for building in release mode with a single-configuration generator, like the Unix Makefiles one:
Here are the steps for building in release mode with a multi-configuration generator, like the Visual Studio ones:
Note that MSVC by default is not standards compliant and you need to pass some flags to make it behave properly. See the flags-msvc
preset in the CMakePresets.json file for the flags and with what variable to provide them to CMake during configuration.
This project doesn't require any special command-line flags to install to keep things simple. As a prerequisite, the project has to be built with the above commands already.
Here is the command for installing the release mode artifacts with a single-configuration generator, like the Unix Makefiles one:
Here is the command for installing the release mode artifacts with a multi-configuration generator, like the Visual Studio ones:
This project exports a CMake package to be used with the find_package
command of CMake:
jit_blocks
jit_blocks::jit_blocks
Example usage:
The CMAKE_INSTALL_INCLUDEDIR
is set to a path other than just include
if the project is configured as a top level project to avoid indirectly including other libraries when installed to a common prefix. Please review the install-rules.cmake file for the full set of install rules.