Changeset 446


Ignore:
Timestamp:
07/31/09 14:58:09 (15 years ago)
Author:
r2d
Message:

libcuefile :

  • add a shared library target to cmake
  • add install target to cmake
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcuefile/trunk/src/CMakeLists.txt

    r416 r446  
    11add_definitions(-DYY_NEVER_INTERACTIVE)
    22include_directories(${libcuefile_SOURCE_DIR}/include)
    3 add_library(cuefile STATIC cd cdtext cue_parse cue_print cue_scan cuefile time toc toc_parse toc_print toc_scan)
     3
     4add_library(cuefile-static STATIC cd cdtext cue_parse cue_print cue_scan cuefile time toc toc_parse toc_print toc_scan)
     5set_target_properties(cuefile-static PROPERTIES OUTPUT_NAME cuefile CLEAN_DIRECT_OUTPUT 1)
     6
     7add_library(cuefile-shared SHARED cd cdtext cue_parse cue_print cue_scan cuefile time toc toc_parse toc_print toc_scan)
     8set_target_properties(cuefile-shared PROPERTIES OUTPUT_NAME cuefile CLEAN_DIRECT_OUTPUT 1 VERSION 0.0.0 SOVERSION 0)
     9
     10install(TARGETS cuefile-static cuefile-shared LIBRARY DESTINATION "lib${LIB_SUFFIX}" ARCHIVE DESTINATION "lib${LIB_SUFFIX}")
Note: See TracChangeset for help on using the changeset viewer.