diff --git a/CMakeLists.txt b/CMakeLists.txt index 25cfa20..9887783 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,17 +28,33 @@ include_directories(.) #Create src file list set(src_files egami/Image.cpp + egami/Image.h egami/ImageMono.cpp + egami/ImageMono.h egami/egami.cpp + egami/egami.h egami/debug.cpp + egami/debug.h egami/wrapperPNG.cpp + egami/wrapperPNG.h egami/wrapperSVG.cpp + egami/wrapperSVG.h egami/wrapperBMP.cpp + egami/wrapperBMP.h egami/wrapperEDF.cpp + egami/wrapperEDF.h ) add_definitions( -DDEBUG_LEVEL=3 ) add_definitions( -DDEBUG=1 ) +if (APPLE) + add_definitions( -D__TARGET_OS__MacOs ) +elseif (UNIX) + add_definitions( -D__TARGET_OS__Linux ) +elseif (WIN32) + add_definitions( -D__TARGET_OS__Windows ) +endif () + include_directories(${etk_SOURCE_DIR}) include_directories(${linearmath_SOURCE_DIR}/bullet/src/)