summaryrefslogtreecommitdiff
path: root/readom/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'readom/CMakeLists.txt')
-rw-r--r--readom/CMakeLists.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/readom/CMakeLists.txt b/readom/CMakeLists.txt
new file mode 100644
index 0000000..81536d8
--- /dev/null
+++ b/readom/CMakeLists.txt
@@ -0,0 +1,19 @@
+PROJECT (READECD C)
+INCLUDE_DIRECTORIES(../include ../wodim ${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}/include)
+INCLUDE(../include/AddScgBits.cmake)
+INCLUDE(../include/AddSchilyBits.cmake)
+
+AUX_SOURCE_DIRECTORY(. readom_SRCS)
+
+LINK_DIRECTORIES(../librols ../libusal ../wodim)
+
+ADD_DEFINITIONS(-DCLONE_WRITE)
+
+ADD_EXECUTABLE (readom ${readom_SRCS})
+TARGET_LINK_LIBRARIES(readom wodimstuff ${EXTRA_LIBS})
+SET_TARGET_PROPERTIES(readom PROPERTIES SKIP_BUILD_RPATH TRUE)
+
+INSTALL(TARGETS readom DESTINATION bin)
+INSTALL(FILES
+readom.1
+DESTINATION ${MANSUBDIR}/man1)