mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
23 lines
548 B
CMake
23 lines
548 B
CMake
|
SET(SRCS alpha.cpp
|
||
|
clusterfit.cpp
|
||
|
colourblock.cpp
|
||
|
colourfit.cpp
|
||
|
colourset.cpp
|
||
|
maths.cpp
|
||
|
rangefit.cpp
|
||
|
singlecolourfit.cpp
|
||
|
squish.cpp)
|
||
|
|
||
|
INCLUDE_DIRECTORIES(./)
|
||
|
ADD_LIBRARY(squish SHARED ${SRCS})
|
||
|
ADD_LIBRARY(squish_static STATIC ${SRCS})
|
||
|
|
||
|
SET_TARGET_PROPERTIES(squish_static PROPERTIES OUTPUT_NAME squish)
|
||
|
|
||
|
INSTALL(TARGETS squish
|
||
|
LIBRARY DESTINATION lib)
|
||
|
INSTALL(TARGETS squish_static
|
||
|
ARCHIVE DESTINATION lib)
|
||
|
INSTALL(FILES squish.h
|
||
|
DESTINATION include)
|