-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
29 lines (21 loc) · 965 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
cmake_minimum_required(VERSION 2.8.7)
set(CMAKE_CONFIGURATION_TYPES "Debug;Release" CACHE STRING "" FORCE)
project("iesetuphelper")
if(CMAKE_CL_64)
set(outdir_cfg_release Release64)
set(outdir_cfg_debug Debug64)
else(CMAKE_CL_64)
set(outdir_cfg_release Release32)
set(outdir_cfg_debug Debug32)
endif(CMAKE_CL_64)
set(outdir_bin_release ${CMAKE_CURRENT_SOURCE_DIR}/_bin/${outdir_cfg_release}/)
set(outdir_bin_debug ${CMAKE_CURRENT_SOURCE_DIR}/_bin/${outdir_cfg_debug}/)
set(outdir_lib_release ${CMAKE_CURRENT_SOURCE_DIR}/_lib/${outdir_cfg_release}/)
set(outdir_lib_debug ${CMAKE_CURRENT_SOURCE_DIR}/_lib/${outdir_cfg_debug}/)
include_directories("${CMAKE_CURRENT_SOURCE_DIR}")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /MT")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /MTd")
if(version_build)
add_definitions("-DVER_NUMBER_BUILD=${version_build}")
endif(version_build)
add_subdirectory(iesetuphelper)