Ignore:
Timestamp:
08/21/10 18:55:01 (14 years ago)
Author:
r2d
Message:

libmpc : renamed libmpcdec project libmpcdec and mpcdec project mpcdec_cmd to have correctly named outputs and make cmake don't cry

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libmpc/trunk/mpcdec/CMakeLists.txt

    r460 r467  
    88if(MSVC)
    99include_directories(${libmpc_SOURCE_DIR}/win32)
    10 add_executable(mpcdec mpcdec ${libmpc_SOURCE_DIR}/win32/attgetopt)
     10add_executable(mpcdec_cmd mpcdec.c ${libmpc_SOURCE_DIR}/win32/attgetopt)
    1111endif(MSVC)
    1212
    13 add_executable(mpcdec mpcdec.c)
     13add_executable(mpcdec_cmd mpcdec.c)
    1414
    1515if(NOT MSVC)
    16 target_link_libraries(mpcdec m)
     16target_link_libraries(mpcdec_cmd m)
    1717endif(NOT MSVC)
    1818
    19 target_link_libraries(mpcdec wavformat_static)
     19target_link_libraries(mpcdec_cmd wavformat_static)
    2020
    2121if(SHARED)
    22   target_link_libraries(mpcdec mpcdec_shared)
     22  target_link_libraries(mpcdec_cmd mpcdec)
    2323else(SHARED)
    24   target_link_libraries(mpcdec mpcdec_static)
     24  target_link_libraries(mpcdec_cmd mpcdec_static)
    2525endif(SHARED)
    2626
    27 install(TARGETS mpcdec RUNTIME DESTINATION bin)
     27SET_TARGET_PROPERTIES(mpcdec_cmd PROPERTIES OUTPUT_NAME "mpcdec")
     28
     29install(TARGETS mpcdec_cmd RUNTIME DESTINATION bin)
Note: See TracChangeset for help on using the changeset viewer.