Changeset 467 for libmpc/trunk/mpcdec/CMakeLists.txt
- Timestamp:
- 08/21/10 18:55:01 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libmpc/trunk/mpcdec/CMakeLists.txt
r460 r467 8 8 if(MSVC) 9 9 include_directories(${libmpc_SOURCE_DIR}/win32) 10 add_executable(mpcdec mpcdec ${libmpc_SOURCE_DIR}/win32/attgetopt)10 add_executable(mpcdec_cmd mpcdec.c ${libmpc_SOURCE_DIR}/win32/attgetopt) 11 11 endif(MSVC) 12 12 13 add_executable(mpcdec mpcdec.c)13 add_executable(mpcdec_cmd mpcdec.c) 14 14 15 15 if(NOT MSVC) 16 target_link_libraries(mpcdec m)16 target_link_libraries(mpcdec_cmd m) 17 17 endif(NOT MSVC) 18 18 19 target_link_libraries(mpcdec wavformat_static)19 target_link_libraries(mpcdec_cmd wavformat_static) 20 20 21 21 if(SHARED) 22 target_link_libraries(mpcdec mpcdec_shared)22 target_link_libraries(mpcdec_cmd mpcdec) 23 23 else(SHARED) 24 target_link_libraries(mpcdec mpcdec_static)24 target_link_libraries(mpcdec_cmd mpcdec_static) 25 25 endif(SHARED) 26 26 27 install(TARGETS mpcdec RUNTIME DESTINATION bin) 27 SET_TARGET_PROPERTIES(mpcdec_cmd PROPERTIES OUTPUT_NAME "mpcdec") 28 29 install(TARGETS mpcdec_cmd RUNTIME DESTINATION bin)
Note: See TracChangeset
for help on using the changeset viewer.