Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

CMakeLists.txt libsquish 1.10

By: a guest on May 1st, 2010  |  syntax: None  |  size: 0.55 KB  |  hits: 166  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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)