Changeset 482 for libmpc/trunk/libmpcdec/CMakeLists.txt
- Timestamp:
- 10/21/13 23:34:18 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libmpc/trunk/libmpcdec/CMakeLists.txt
r467 r482 1 SET(mpcdec_VERSION_MAJOR 7) 2 SET(mpcdec_VERSION_MINOR 0) 3 SET(mpcdec_VERSION_PATCH 1) 4 5 set(mpcdec_VERSION ${mpcdec_VERSION_MAJOR}.${mpcdec_VERSION_MINOR}.${mpcdec_VERSION_PATCH}) 6 1 7 include_directories(${libmpc_SOURCE_DIR}/include) 8 install(FILES 9 ${libmpc_SOURCE_DIR}/include/mpc/mpcdec.h 10 ${libmpc_SOURCE_DIR}/include/mpc/reader.h 11 ${libmpc_SOURCE_DIR}/include/mpc/streaminfo.h 12 ${libmpc_SOURCE_DIR}/include/mpc/mpc_types.h 13 DESTINATION include/mpc COMPONENT headers) 14 2 15 if(SHARED) 3 16 add_library(mpcdec SHARED huffman mpc_decoder mpc_reader streaminfo mpc_bits_reader mpc_demux requant synth_filter ${libmpc_SOURCE_DIR}/common/crc32) 17 set_target_properties(mpcdec PROPERTIES VERSION ${mpcdec_VERSION} SOVERSION ${mpcdec_VERSION_MAJOR}) 18 install(TARGETS mpcdec LIBRARY DESTINATION "lib" COMPONENT libraries) 4 19 else(SHARED) 5 20 add_library(mpcdec_static STATIC huffman mpc_decoder mpc_reader streaminfo mpc_bits_reader mpc_demux requant synth_filter ${libmpc_SOURCE_DIR}/common/crc32) 21 install(TARGETS mpcdec_static ARCHIVE DESTINATION "lib/static" COMPONENT libraries) 6 22 endif(SHARED) 7 23
Note: See TracChangeset
for help on using the changeset viewer.