hacks/dump-imessages/iphone-dataprotection/emf_decrypter/CMakeLists.txt

30 lines
745 B
CMake

cmake_minimum_required(VERSION 2.6)
set(CMAKE_LEGACY_CYGWIN_WIN32 0)
project (XPwn)
# We want win32 executables to build staticly by default, since it's more difficult to keep the shared libraries straight on Windows
IF(WIN32)
SET(BUILD_STATIC ON CACHE BOOL "Force compilation with static libraries")
ELSE(WIN32)
SET(BUILD_STATIC OFF CACHE BOOL "Force compilation with static libraries")
ENDIF(WIN32)
IF(BUILD_STATIC)
SET(CMAKE_FIND_LIBRARY_SUFFIXES ".a")
ENDIF(BUILD_STATIC)
include_directories (${PROJECT_SOURCE_DIR}/includes)
add_subdirectory (common)
add_subdirectory (hfs)
add_subdirectory (emf)
IF(WIN32 OR APPLE)
SET(CPACK_GENERATOR "ZIP")
ELSE(WIN32 OR APPLE)
SET(CPACK_GENERATOR "TBZ2")
ENDIF(WIN32 OR APPLE)
INCLUDE(CPack)