2012-01-06 12:12:57 +08:00
|
|
|
# ASEPRITE
|
2013-01-27 23:13:13 +08:00
|
|
|
# Copyright (C) 2001-2013 David Capello
|
2010-08-11 08:49:32 +08:00
|
|
|
|
2010-10-01 04:04:32 +08:00
|
|
|
include_directories(.)
|
2010-08-11 08:49:32 +08:00
|
|
|
|
2010-08-26 03:18:46 +08:00
|
|
|
if(MSVC)
|
|
|
|
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
|
|
|
|
endif(MSVC)
|
|
|
|
|
2010-10-01 04:04:32 +08:00
|
|
|
if(NOT USE_SHARED_JPEGLIB)
|
|
|
|
add_subdirectory(jpeg)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if(NOT USE_SHARED_ZLIB)
|
|
|
|
include_directories(zlib)
|
|
|
|
add_subdirectory(zlib)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if(NOT USE_SHARED_LIBPNG)
|
|
|
|
add_subdirectory(libpng)
|
|
|
|
endif()
|
|
|
|
|
2012-03-15 11:17:49 +08:00
|
|
|
if(NOT USE_SHARED_GIFLIB)
|
|
|
|
add_subdirectory(giflib)
|
|
|
|
endif()
|
|
|
|
|
2012-03-20 01:04:24 +08:00
|
|
|
if(NOT USE_SHARED_TINYXML)
|
|
|
|
add_subdirectory(tinyxml)
|
|
|
|
endif()
|
|
|
|
|
2012-03-20 01:33:49 +08:00
|
|
|
if(NOT USE_SHARED_GTEST)
|
|
|
|
add_subdirectory(gtest)
|
|
|
|
endif()
|
|
|
|
|
2012-03-15 11:17:49 +08:00
|
|
|
if(ENABLE_UPDATER AND NOT USE_SHARED_CURL)
|
2011-07-28 08:26:22 +08:00
|
|
|
add_subdirectory(curl)
|
|
|
|
endif()
|
2012-03-15 11:17:49 +08:00
|
|
|
|
2012-07-09 08:21:01 +08:00
|
|
|
if(NOT USE_SHARED_LIBLOADPNG)
|
|
|
|
add_subdirectory(loadpng)
|
|
|
|
endif()
|
2013-03-31 11:36:00 +08:00
|
|
|
|
|
|
|
if(ENABLE_WEBSERVER)
|
|
|
|
add_subdirectory(mongoose)
|
|
|
|
endif()
|