From 25eba398700ab532a3bd892aefaa58485af8bcdf Mon Sep 17 00:00:00 2001 From: Pavel Krajcevski Date: Thu, 21 Mar 2013 00:15:23 -0400 Subject: [PATCH] Change the name of everything to FasTC --- BPTCEncoder/CMakeLists.txt | 6 +++--- CLTool/CMakeLists.txt | 8 ++++---- CMakeLists.txt | 2 +- Core/CMakeLists.txt | 22 +++++++++++----------- IO/CMakeLists.txt | 12 ++++++------ 5 files changed, 25 insertions(+), 25 deletions(-) diff --git a/BPTCEncoder/CMakeLists.txt b/BPTCEncoder/CMakeLists.txt index d56eee6..0bbac8e 100644 --- a/BPTCEncoder/CMakeLists.txt +++ b/BPTCEncoder/CMakeLists.txt @@ -40,10 +40,10 @@ # # -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) diff --git a/CLTool/CMakeLists.txt b/CLTool/CMakeLists.txt index d899e16..4980eb7 100644 --- a/CLTool/CMakeLists.txt +++ b/CLTool/CMakeLists.txt @@ -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 ) diff --git a/CMakeLists.txt b/CMakeLists.txt index 254ed83..3a0f40e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -41,7 +41,7 @@ # 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) diff --git a/Core/CMakeLists.txt b/Core/CMakeLists.txt index dbf840a..0e33516 100644 --- a/Core/CMakeLists.txt +++ b/Core/CMakeLists.txt @@ -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() diff --git a/IO/CMakeLists.txt b/IO/CMakeLists.txt index 41ffd2a..8bc2d76 100644 --- a/IO/CMakeLists.txt +++ b/IO/CMakeLists.txt @@ -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 )