Closed RaniAgus closed 2 years ago
With this update, CSpec could be included in a CMake project without any installation by adding these lines to CMakeLists.txt:
CMakeLists.txt
include(ExternalProject) ExternalProject_Add(cspecs GIT_REPOSITORY https://github.com/mumuki/cspec CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${CMAKE_BINARY_DIR} ) include_directories(${CMAKE_BINARY_DIR}/include) link_directories(${CMAKE_BINARY_DIR}/lib) link_libraries(cspecs)
resolves #32
With this update, CSpec could be included in a CMake project without any installation by adding these lines to
CMakeLists.txt
:resolves #32