mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2024-11-28 04:24:15 +01:00
27 lines
565 B
CMake
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 )
|