Restructure IO directory to better match convention set by BPTC Encoder

This commit is contained in:
Pavel Krajcevski 2012-08-27 12:19:27 -04:00
parent d13190990e
commit 4e43207fd8
6 changed files with 9 additions and 8 deletions

View File

@ -1,11 +1,11 @@
SET( SOURCES
ImageFile.cpp
"src/ImageFile.cpp"
)
SET( HEADERS
ImageLoader.h
ImageFile.h
"config/ImageLoader.h.in"
"include/ImageFile.h"
)
FIND_PACKAGE( PNG )
@ -13,16 +13,17 @@ IF( PNG_FOUND )
INCLUDE_DIRECTORIES( ${PNG_INCLUDE_DIR} )
TARGET_LINK_LIBRARIES( ${PNG_LIBRARY} )
SET( SOURCES ${SOURCES} ImageLoaderPNG.cpp )
SET( HEADERS ${HEADERS} ImageLoaderPNG.h )
SET( SOURCES ${SOURCES} "src/ImageLoaderPNG.cpp" )
SET( HEADERS ${HEADERS} "src/ImageLoaderPNG.h" )
ENDIF()
CONFIGURE_FILE(
"ImageLoader.h.in"
"ImageLoader.h"
"config/ImageLoader.h.in"
"include/ImageLoader.h"
)
INCLUDE_DIRECTORIES( ${TexC_BINARY_DIR}/IO )
INCLUDE_DIRECTORIES( ${TexC_BINARY_DIR}/IO/include )
INCLUDE_DIRECTORIES( ${TexC_SOURCE_DIR}/IO/include )
ADD_LIBRARY(TexCompIO
${SOURCES}