mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2025-01-08 05:55:35 +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/>
|
# <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(${FasTC_SOURCE_DIR}/BPTCEncoder/include)
|
||||||
INCLUDE_DIRECTORIES(${TexC_BINARY_DIR}/BPTCEncoder/include)
|
INCLUDE_DIRECTORIES(${FasTC_BINARY_DIR}/BPTCEncoder/include)
|
||||||
|
|
||||||
INCLUDE(CheckCXXSourceRuns)
|
INCLUDE(CheckCXXSourceRuns)
|
||||||
|
|
||||||
|
|
|
@ -46,8 +46,8 @@ ELSE()
|
||||||
SET( SOURCES "src/clunix.cpp" )
|
SET( SOURCES "src/clunix.cpp" )
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
INCLUDE_DIRECTORIES( ${TexC_SOURCE_DIR}/Core/include )
|
INCLUDE_DIRECTORIES( ${FasTC_SOURCE_DIR}/Core/include )
|
||||||
INCLUDE_DIRECTORIES( ${TexC_SOURCE_DIR}/IO/include )
|
INCLUDE_DIRECTORIES( ${FasTC_SOURCE_DIR}/IO/include )
|
||||||
|
|
||||||
ADD_EXECUTABLE(
|
ADD_EXECUTABLE(
|
||||||
tc
|
tc
|
||||||
|
@ -61,5 +61,5 @@ IF( MSVC )
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
TARGET_LINK_LIBRARIES( tc BPTCEncoder )
|
TARGET_LINK_LIBRARIES( tc BPTCEncoder )
|
||||||
TARGET_LINK_LIBRARIES( tc TexCompIO )
|
TARGET_LINK_LIBRARIES( tc FasTCIO )
|
||||||
TARGET_LINK_LIBRARIES( tc TexCompCore )
|
TARGET_LINK_LIBRARIES( tc FasTCCore )
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
# <http://gamma.cs.unc.edu/FasTC/>
|
# <http://gamma.cs.unc.edu/FasTC/>
|
||||||
|
|
||||||
CMAKE_MINIMUM_REQUIRED(VERSION 2.8 FATAL_ERROR)
|
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)
|
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} )
|
SET( LINK_FLAGS -lrt ${LINK_FLAGS} )
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
INCLUDE_DIRECTORIES( ${TexC_SOURCE_DIR}/BPTCEncoder/include )
|
INCLUDE_DIRECTORIES( ${FasTC_SOURCE_DIR}/BPTCEncoder/include )
|
||||||
INCLUDE_DIRECTORIES( ${TexC_BINARY_DIR}/BPTCEncoder/include )
|
INCLUDE_DIRECTORIES( ${FasTC_BINARY_DIR}/BPTCEncoder/include )
|
||||||
|
|
||||||
INCLUDE_DIRECTORIES( ${TexC_SOURCE_DIR}/IO/include )
|
INCLUDE_DIRECTORIES( ${FasTC_SOURCE_DIR}/IO/include )
|
||||||
INCLUDE_DIRECTORIES( ${TexC_BINARY_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_API )
|
||||||
SET( THREAD_APIS_AVAILABLE "None" )
|
SET( THREAD_APIS_AVAILABLE "None" )
|
||||||
|
@ -142,22 +142,22 @@ ELSE()
|
||||||
SET( HEADERS ${HEADERS} "src/WorkerQueue.h" )
|
SET( HEADERS ${HEADERS} "src/WorkerQueue.h" )
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
ADD_LIBRARY( TexCompCore
|
ADD_LIBRARY( FasTCCore
|
||||||
${HEADERS}
|
${HEADERS}
|
||||||
${SOURCES}
|
${SOURCES}
|
||||||
)
|
)
|
||||||
|
|
||||||
TARGET_LINK_LIBRARIES( TexCompCore TexCompIO )
|
TARGET_LINK_LIBRARIES( FasTCCore FasTCIO )
|
||||||
TARGET_LINK_LIBRARIES( TexCompCore BPTCEncoder )
|
TARGET_LINK_LIBRARIES( FasTCCore BPTCEncoder )
|
||||||
|
|
||||||
IF( THREAD_API MATCHES "Boost" )
|
IF( THREAD_API MATCHES "Boost" )
|
||||||
TARGET_LINK_LIBRARIES( TexCompCore ${Boost_LIBRARIES} )
|
TARGET_LINK_LIBRARIES( FasTCCore ${Boost_LIBRARIES} )
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
IF( THREAD_API MATCHES "PThread" )
|
IF( THREAD_API MATCHES "PThread" )
|
||||||
TARGET_LINK_LIBRARIES( TexCompCore ${CMAKE_THREAD_LIBS_INIT} )
|
TARGET_LINK_LIBRARIES( FasTCCore ${CMAKE_THREAD_LIBS_INIT} )
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
IF( NOT WIN32 AND NOT APPLE )
|
IF( NOT WIN32 AND NOT APPLE )
|
||||||
TARGET_LINK_LIBRARIES( TexCompCore rt )
|
TARGET_LINK_LIBRARIES( FasTCCore rt )
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
|
@ -88,18 +88,18 @@ CONFIGURE_FILE(
|
||||||
"include/ImageWriter.h"
|
"include/ImageWriter.h"
|
||||||
)
|
)
|
||||||
|
|
||||||
INCLUDE_DIRECTORIES( ${TexC_BINARY_DIR}/IO/include )
|
INCLUDE_DIRECTORIES( ${FasTC_BINARY_DIR}/IO/include )
|
||||||
INCLUDE_DIRECTORIES( ${TexC_SOURCE_DIR}/IO/include )
|
INCLUDE_DIRECTORIES( ${FasTC_SOURCE_DIR}/IO/include )
|
||||||
INCLUDE_DIRECTORIES( ${TexC_SOURCE_DIR}/Core/include )
|
INCLUDE_DIRECTORIES( ${FasTC_SOURCE_DIR}/Core/include )
|
||||||
|
|
||||||
ADD_LIBRARY(TexCompIO
|
ADD_LIBRARY(FasTCIO
|
||||||
${SOURCES}
|
${SOURCES}
|
||||||
${HEADERS}
|
${HEADERS}
|
||||||
)
|
)
|
||||||
|
|
||||||
IF( PNG_FOUND )
|
IF( PNG_FOUND )
|
||||||
TARGET_LINK_LIBRARIES( TexCompIO ${PNG_LIBRARY} )
|
TARGET_LINK_LIBRARIES( FasTCIO ${PNG_LIBRARY} )
|
||||||
TARGET_LINK_LIBRARIES( TexCompIO ${ZLIB_LIBRARY} )
|
TARGET_LINK_LIBRARIES( FasTCIO ${ZLIB_LIBRARY} )
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
IF( PVRTEXLIB_FOUND )
|
IF( PVRTEXLIB_FOUND )
|
||||||
|
|
Loading…
Reference in a new issue