mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2024-11-24 12:55:39 +01:00
19 lines
357 B
CMake
19 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 )
|