diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/lib/CMakeLists.txt | 22 |
2 files changed, 23 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 0000000..3ea7a41 --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1 @@ +add_subdirectory(lib) diff --git a/src/lib/CMakeLists.txt b/src/lib/CMakeLists.txt new file mode 100644 index 0000000..cf5d693 --- /dev/null +++ b/src/lib/CMakeLists.txt @@ -0,0 +1,22 @@ +LIST(APPEND EIOTAS_CC_SOURCES + eiotas_main.c + eiotas_iota.c + eiotas_spin.c + eiotas_room.c + eiotas_door.c + eiotas_board.c + ) + +include_directories( + ${EINA_INCLUDE_DIRS} + ${PROJECT_SOURCE_DIR}/src/include + ) + +add_library(eiotas SHARED ${EIOTAS_CC_SOURCES}) +target_link_libraries(eiotas + ${EINA_LIBRARIES} + ) + +set_target_properties(eiotas PROPERTIES + VERSION ${EIOTAS_VERSION} SOVERSION ${EIOTAS_VERSION_MAJOR}) +set_target_properties(eiotas PROPERTIES OUTPUT_NAME "eiotas") |