mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2025-01-07 01:25:36 +00:00
Change the name of everything to FasTC
This commit is contained in:
parent
fc1baea05f
commit
25eba39870
|
@ -40,10 +40,10 @@
|
|||
#
|
||||
# <http://gamma.cs.unc.edu/FasTC/>
|
||||
|
||||
INCLUDE_DIRECTORIES(${TexC_SOURCE_DIR}/Core/include)
|
||||
INCLUDE_DIRECTORIES(${FasTC_SOURCE_DIR}/Core/include)
|
||||
|
||||
INCLUDE_DIRECTORIES(${TexC_SOURCE_DIR}/BPTCEncoder/include)
|
||||
INCLUDE_DIRECTORIES(${TexC_BINARY_DIR}/BPTCEncoder/include)
|
||||
INCLUDE_DIRECTORIES(${FasTC_SOURCE_DIR}/BPTCEncoder/include)
|
||||
INCLUDE_DIRECTORIES(${FasTC_BINARY_DIR}/BPTCEncoder/include)
|
||||
|
||||
INCLUDE(CheckCXXSourceRuns)
|
||||
|
||||
|
|
|
@ -46,8 +46,8 @@ ELSE()
|
|||
SET( SOURCES "src/clunix.cpp" )
|
||||
ENDIF()
|
||||
|
||||
INCLUDE_DIRECTORIES( ${TexC_SOURCE_DIR}/Core/include )
|
||||
INCLUDE_DIRECTORIES( ${TexC_SOURCE_DIR}/IO/include )
|
||||
INCLUDE_DIRECTORIES( ${FasTC_SOURCE_DIR}/Core/include )
|
||||
INCLUDE_DIRECTORIES( ${FasTC_SOURCE_DIR}/IO/include )
|
||||
|
||||
ADD_EXECUTABLE(
|
||||
tc
|
||||
|
@ -61,5 +61,5 @@ IF( MSVC )
|
|||
ENDIF()
|
||||
|
||||
TARGET_LINK_LIBRARIES( tc BPTCEncoder )
|
||||
TARGET_LINK_LIBRARIES( tc TexCompIO )
|
||||
TARGET_LINK_LIBRARIES( tc TexCompCore )
|
||||
TARGET_LINK_LIBRARIES( tc FasTCIO )
|
||||
TARGET_LINK_LIBRARIES( tc FasTCCore )
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
# <http://gamma.cs.unc.edu/FasTC/>
|
||||
|
||||
CMAKE_MINIMUM_REQUIRED(VERSION 2.8 FATAL_ERROR)
|
||||
PROJECT(TexC)
|
||||
PROJECT(FasTC)
|
||||
|
||||
OPTION(TREAT_WARNINGS_AS_ERRORS "Treat compiler warnings as errors. We use the highest warnings levels for compilers." OFF)
|
||||
|
||||
|
|
|
@ -71,13 +71,13 @@ ELSE()
|
|||
SET( LINK_FLAGS -lrt ${LINK_FLAGS} )
|
||||
ENDIF()
|
||||
|
||||
INCLUDE_DIRECTORIES( ${TexC_SOURCE_DIR}/BPTCEncoder/include )
|
||||
INCLUDE_DIRECTORIES( ${TexC_BINARY_DIR}/BPTCEncoder/include )
|
||||
INCLUDE_DIRECTORIES( ${FasTC_SOURCE_DIR}/BPTCEncoder/include )
|
||||
INCLUDE_DIRECTORIES( ${FasTC_BINARY_DIR}/BPTCEncoder/include )
|
||||
|
||||
INCLUDE_DIRECTORIES( ${TexC_SOURCE_DIR}/IO/include )
|
||||
INCLUDE_DIRECTORIES( ${TexC_BINARY_DIR}/IO/include )
|
||||
INCLUDE_DIRECTORIES( ${FasTC_SOURCE_DIR}/IO/include )
|
||||
INCLUDE_DIRECTORIES( ${FasTC_BINARY_DIR}/IO/include )
|
||||
|
||||
INCLUDE_DIRECTORIES( ${TexC_SOURCE_DIR}/Core/include )
|
||||
INCLUDE_DIRECTORIES( ${FasTC_SOURCE_DIR}/Core/include )
|
||||
|
||||
SET( THREAD_API )
|
||||
SET( THREAD_APIS_AVAILABLE "None" )
|
||||
|
@ -142,22 +142,22 @@ ELSE()
|
|||
SET( HEADERS ${HEADERS} "src/WorkerQueue.h" )
|
||||
ENDIF()
|
||||
|
||||
ADD_LIBRARY( TexCompCore
|
||||
ADD_LIBRARY( FasTCCore
|
||||
${HEADERS}
|
||||
${SOURCES}
|
||||
)
|
||||
|
||||
TARGET_LINK_LIBRARIES( TexCompCore TexCompIO )
|
||||
TARGET_LINK_LIBRARIES( TexCompCore BPTCEncoder )
|
||||
TARGET_LINK_LIBRARIES( FasTCCore FasTCIO )
|
||||
TARGET_LINK_LIBRARIES( FasTCCore BPTCEncoder )
|
||||
|
||||
IF( THREAD_API MATCHES "Boost" )
|
||||
TARGET_LINK_LIBRARIES( TexCompCore ${Boost_LIBRARIES} )
|
||||
TARGET_LINK_LIBRARIES( FasTCCore ${Boost_LIBRARIES} )
|
||||
ENDIF()
|
||||
|
||||
IF( THREAD_API MATCHES "PThread" )
|
||||
TARGET_LINK_LIBRARIES( TexCompCore ${CMAKE_THREAD_LIBS_INIT} )
|
||||
TARGET_LINK_LIBRARIES( FasTCCore ${CMAKE_THREAD_LIBS_INIT} )
|
||||
ENDIF()
|
||||
|
||||
IF( NOT WIN32 AND NOT APPLE )
|
||||
TARGET_LINK_LIBRARIES( TexCompCore rt )
|
||||
TARGET_LINK_LIBRARIES( FasTCCore rt )
|
||||
ENDIF()
|
||||
|
|
|
@ -88,18 +88,18 @@ CONFIGURE_FILE(
|
|||
"include/ImageWriter.h"
|
||||
)
|
||||
|
||||
INCLUDE_DIRECTORIES( ${TexC_BINARY_DIR}/IO/include )
|
||||
INCLUDE_DIRECTORIES( ${TexC_SOURCE_DIR}/IO/include )
|
||||
INCLUDE_DIRECTORIES( ${TexC_SOURCE_DIR}/Core/include )
|
||||
INCLUDE_DIRECTORIES( ${FasTC_BINARY_DIR}/IO/include )
|
||||
INCLUDE_DIRECTORIES( ${FasTC_SOURCE_DIR}/IO/include )
|
||||
INCLUDE_DIRECTORIES( ${FasTC_SOURCE_DIR}/Core/include )
|
||||
|
||||
ADD_LIBRARY(TexCompIO
|
||||
ADD_LIBRARY(FasTCIO
|
||||
${SOURCES}
|
||||
${HEADERS}
|
||||
)
|
||||
|
||||
IF( PNG_FOUND )
|
||||
TARGET_LINK_LIBRARIES( TexCompIO ${PNG_LIBRARY} )
|
||||
TARGET_LINK_LIBRARIES( TexCompIO ${ZLIB_LIBRARY} )
|
||||
TARGET_LINK_LIBRARIES( FasTCIO ${PNG_LIBRARY} )
|
||||
TARGET_LINK_LIBRARIES( FasTCIO ${ZLIB_LIBRARY} )
|
||||
ENDIF()
|
||||
|
||||
IF( PVRTEXLIB_FOUND )
|
||||
|
|
Loading…
Reference in a new issue