mirror of
https://gitlab.com/niansa/anyproc.git
synced 2025-03-06 20:49:24 +01:00
Improved cache variable descriptions
This commit is contained in:
parent
a184fef764
commit
3d3de6ae87
1 changed files with 9 additions and 6 deletions
|
@ -5,8 +5,9 @@ project(anyproc LANGUAGES CXX)
|
|||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
set(ANYPROC_PYBIND No CACHE BOOL "If python bindings should be build")
|
||||
set(ANYPROC_COSCHED No CACHE BOOL "If CoSched should be made use of")
|
||||
set(ANYPROC_PYBIND No CACHE BOOL "If Anyproc Python bindings should be build")
|
||||
set(ANYPROC_COSCHED No CACHE BOOL "If Anyproc should make use of CoSched")
|
||||
set(ANYPROC_EXAMPLES Yes CACHE BOOL "If Anyproc examples should be built")
|
||||
|
||||
if (ANYPROC_COSCHED)
|
||||
set(CMAKE_CXX_STANDARD 20)
|
||||
|
@ -16,11 +17,13 @@ add_library(anyproc INTERFACE)
|
|||
target_include_directories(anyproc INTERFACE include/)
|
||||
target_link_libraries(anyproc INTERFACE libjustlm)
|
||||
|
||||
add_executable(dictionary dictionary.cpp)
|
||||
target_link_libraries(dictionary PUBLIC anyproc)
|
||||
if (ANYPROC_EXAMPLES)
|
||||
add_executable(dictionary dictionary.cpp)
|
||||
target_link_libraries(dictionary PUBLIC anyproc)
|
||||
|
||||
add_executable(translator translator.cpp)
|
||||
target_link_libraries(translator PUBLIC anyproc)
|
||||
add_executable(translator translator.cpp)
|
||||
target_link_libraries(translator PUBLIC anyproc)
|
||||
endif()
|
||||
|
||||
if (ANYPROC_COSCHED)
|
||||
target_link_libraries(anyproc INTERFACE cosched)
|
||||
|
|
Loading…
Add table
Reference in a new issue