Don't add psemek to ALL
This commit is contained in:
parent
ae282d796c
commit
b51e509562
2 changed files with 2 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ add_subdirectory(package)
|
||||||
add_subdirectory(tools)
|
add_subdirectory(tools)
|
||||||
add_subdirectory(libs)
|
add_subdirectory(libs)
|
||||||
|
|
||||||
add_library(psemek todo.md)
|
add_library(psemek EXCLUDE_FROM_ALL todo.md)
|
||||||
target_link_libraries(psemek INTERFACE ${PSEMEK_LIBRARIES})
|
target_link_libraries(psemek INTERFACE ${PSEMEK_LIBRARIES})
|
||||||
set_target_properties(psemek PROPERTIES LINKER_LANGUAGE CXX)
|
set_target_properties(psemek PROPERTIES LINKER_LANGUAGE CXX)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@ foreach(lib ${PSEMEK_LIBRARIES})
|
||||||
add_subdirectory(${lib})
|
add_subdirectory(${lib})
|
||||||
target_compile_definitions(${lib} PUBLIC ${PSEMEK_DEFINITIONS})
|
target_compile_definitions(${lib} PUBLIC ${PSEMEK_DEFINITIONS})
|
||||||
target_compile_options(${lib} PUBLIC ${PSEMEK_CXX_FLAGS})
|
target_compile_options(${lib} PUBLIC ${PSEMEK_CXX_FLAGS})
|
||||||
|
set_target_properties(${lib} PROPERTIES EXCLUDE_FROM_ALL TRUE)
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
set(PSEMEK_LIBRARIES ${PSEMEK_LIBRARIES} PARENT_SCOPE)
|
set(PSEMEK_LIBRARIES ${PSEMEK_LIBRARIES} PARENT_SCOPE)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue