summaryrefslogtreecommitdiff
path: root/readom/CMakeLists.txt
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2012-12-31 05:04:42 +0400
committerIgor Pashev <pashev.igor@gmail.com>2012-12-31 05:04:42 +0400
commit71dc8760ff4de5f365330d1bc571d934deb54af9 (patch)
tree7346d42a282562a3937d82307012b5857d642ce6 /readom/CMakeLists.txt
downloadcdrkit-upstream/1.1.11.tar.gz
Imported Upstream version 1.1.11upstream/1.1.11upstream
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)