-
Notifications
You must be signed in to change notification settings - Fork 5
/
CMakeLists.txt
30 lines (25 loc) · 1.03 KB
/
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
30
cmake_minimum_required(VERSION 3.0)
set(CMAKE_USER_MAKE_RULES_OVERRIDE
${CMAKE_CURRENT_SOURCE_DIR}/c_flag_overrides.cmake)
set(CMAKE_USER_MAKE_RULES_OVERRIDE_CXX
${CMAKE_CURRENT_SOURCE_DIR}/cxx_flag_overrides.cmake)
project (Instalog)
include_directories(ThirdParty/utf8_v2_3_4)
set(InstalogMajorVersion 0)
set(InstalogMinorVersion 0)
set(InstalogRevision 8)
set(InstalogBuild 0)
add_definitions(-DINSTALOG_VERSION=${InstalogMajorVersion}.${InstalogMinorVersion}.${InstalogRevision}.${InstalogBuild})
add_definitions(-DINSTALOG_RC_VERSION=${InstalogMajorVersion},${InstalogMinorVersion},${InstalogRevision},${InstalogBuild})
add_definitions(-D_SCL_SECURE_NO_WARNINGS)
add_definitions(-DUNICODE)
add_definitions(-D_UNICODE)
add_definitions(-D_WINSOCK_DEPRECATED_NO_WARNINGS)
add_definitions(-DNOMINMAX)
add_definitions(-DNTDDI_VERSION=0x05010200)
add_definitions(-D_WIN32_WINNT=0x0501)
add_definitions(-DBUILD_WINDOWS)
add_compile_options(/MP /GR- /W4 /EHsc)
add_subdirectory(LogCommon)
add_subdirectory(LogTests)
add_subdirectory(Instalog)