libdmg-hfsplus/CMakeLists.txt

23 строки
613 B
CMake

cmake_minimum_required(VERSION 2.6)
project (libdmg-hfsplus)
# 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 (dmg)
add_subdirectory (hdutil)
add_subdirectory (hfs)