FasTC/Core/CMakeLists.txt

27 lines
565 B
CMake

SET( SOURCES
"src/TexComp.cpp"
"src/CompressedImage.cpp"
)
SET( HEADERS
"include/TexComp.h"
"include/CompressedImage.h"
)
INCLUDE_DIRECTORIES( ${TexC_SOURCE_DIR}/BPTCEncoder/include )
INCLUDE_DIRECTORIES( ${TexC_BINARY_DIR}/BPTCEncoder/include )
INCLUDE_DIRECTORIES( ${TexC_SOURCE_DIR}/IO/include )
INCLUDE_DIRECTORIES( ${TexC_BINARY_DIR}/IO/include )
INCLUDE_DIRECTORIES( ${TexC_SOURCE_DIR}/Core/include )
ADD_LIBRARY( TexCompCore
${HEADERS}
${SOURCES}
)
TARGET_LINK_LIBRARIES( TexCompCore TexCompIO )
TARGET_LINK_LIBRARIES( TexCompCore BPTCEncoder )