mirror of
https://github.com/yuzu-emu/FasTC
synced 2024-11-23 17:23:40 +00:00
18 lines
357 B
CMake
18 lines
357 B
CMake
|
|
IF( MSVC )
|
|
SET( SOURCES "src/clwin32.cpp" )
|
|
ELSE()
|
|
SET( SOURCES "src/clunix.cpp" )
|
|
ENDIF()
|
|
|
|
INCLUDE_DIRECTORIES( ${TexC_SOURCE_DIR}/Core/include )
|
|
INCLUDE_DIRECTORIES( ${TexC_SOURCE_DIR}/IO/include )
|
|
|
|
ADD_EXECUTABLE(
|
|
tc
|
|
${SOURCES}
|
|
)
|
|
|
|
TARGET_LINK_LIBRARIES( tc BPTCEncoder )
|
|
TARGET_LINK_LIBRARIES( tc TexCompIO )
|
|
TARGET_LINK_LIBRARIES( tc TexCompCore )
|