|
@@ -1,16 +1,21 @@
|
|
|
|
+INCLUDE_DIRECTORIES(
|
|
|
|
+ ${CMAKE_SOURCE_DIR}/src)
|
|
|
|
+
|
|
ADD_SUBDIRECTORY(kernel)
|
|
ADD_SUBDIRECTORY(kernel)
|
|
ADD_SUBDIRECTORY(observer)
|
|
ADD_SUBDIRECTORY(observer)
|
|
ADD_SUBDIRECTORY(utils)
|
|
ADD_SUBDIRECTORY(utils)
|
|
|
|
|
|
-add_library(artis-lib SHARED lib.hpp lib.cpp)
|
|
|
|
|
|
+add_sources(artis-lib lib.hpp lib.cpp)
|
|
|
|
+get_property(artis-lib_SRCS GLOBAL PROPERTY artis-lib_SRCS)
|
|
|
|
+
|
|
|
|
+add_library(artis-lib SHARED ${artis-lib_SRCS})
|
|
|
|
|
|
set_target_properties(artis-lib PROPERTIES
|
|
set_target_properties(artis-lib PROPERTIES
|
|
VERSION 0
|
|
VERSION 0
|
|
OUTPUT_NAME "artis-${ARTIS_VERSION_SHORT}"
|
|
OUTPUT_NAME "artis-${ARTIS_VERSION_SHORT}"
|
|
CLEAN_DIRECT_OUTPUT 1)
|
|
CLEAN_DIRECT_OUTPUT 1)
|
|
|
|
|
|
-target_link_libraries(artis-lib artis-kernel artis-observer artis-utils
|
|
|
|
- ${Boost_LIBRARIES})
|
|
|
|
|
|
+target_link_libraries(artis-lib ${Boost_LIBRARIES})
|
|
|
|
|
|
install(TARGETS artis-lib RUNTIME DESTINATION bin LIBRARY DESTINATION
|
|
install(TARGETS artis-lib RUNTIME DESTINATION bin LIBRARY DESTINATION
|
|
lib ARCHIVE DESTINATION lib)
|
|
lib ARCHIVE DESTINATION lib)
|