summaryrefslogtreecommitdiff
path: root/codec/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'codec/CMakeLists.txt')
-rw-r--r--codec/CMakeLists.txt29
1 files changed, 0 insertions, 29 deletions
diff --git a/codec/CMakeLists.txt b/codec/CMakeLists.txt
deleted file mode 100644
index e5659947..00000000
--- a/codec/CMakeLists.txt
+++ /dev/null
@@ -1,29 +0,0 @@
-# Build the demo app, small examples
-
-# First thing define the common source:
-SET(common_SRCS
- convert.c
- )
-
-IF(WIN32)
- IF(BUILD_SHARED_LIBS)
- ADD_DEFINITIONS(-DOPJ_EXPORTS)
- ELSE(BUILD_SHARED_LIBS)
- ADD_DEFINITIONS(-DOPJ_STATIC)
- ENDIF(BUILD_SHARED_LIBS)
-ENDIF(WIN32)
-
-# Loop over all executables:
-FOREACH(exe jp3d_to_volume volume_to_jp3d)
- ADD_EXECUTABLE(${exe} ${exe}.c ${common_SRCS})
- TARGET_LINK_LIBRARIES(${exe} ${OPENJP3D_LIBRARY_NAME})
- # On unix you need to link to the math library:
- IF(UNIX)
- TARGET_LINK_LIBRARIES(${exe} m)
- ENDIF(UNIX)
- # Install exe
- INSTALL(TARGETS ${exe}
- EXPORT OpenJP3DTargets
- DESTINATION ${OPENJP3D_INSTALL_BIN_DIR} COMPONENT Applications
- )
-ENDFOREACH(exe)