summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/CMakeLists.txt22
1 files changed, 22 insertions, 0 deletions
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")