SHARE
TWEET

CMakeLists.txt libsquish 1.10

a guest May 1st, 2010 172 Never
  1. SET(SRCS alpha.cpp
  2.          clusterfit.cpp
  3.          colourblock.cpp
  4.          colourfit.cpp
  5.          colourset.cpp
  6.          maths.cpp
  7.          rangefit.cpp
  8.          singlecolourfit.cpp
  9.          squish.cpp)
  10.  
  11. INCLUDE_DIRECTORIES(./)
  12. ADD_LIBRARY(squish SHARED ${SRCS})
  13. ADD_LIBRARY(squish_static STATIC ${SRCS})
  14.  
  15. SET_TARGET_PROPERTIES(squish_static PROPERTIES OUTPUT_NAME squish)
  16.  
  17. INSTALL(TARGETS squish
  18.         LIBRARY DESTINATION lib)
  19. INSTALL(TARGETS squish_static
  20.         ARCHIVE DESTINATION lib)
  21. INSTALL(FILES squish.h
  22.         DESTINATION include)
RAW Paste Data
Top