forked from EnjoMitch/EnjoLib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
52 lines (40 loc) · 1.18 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
cmake_minimum_required(VERSION 3.5.1)
set (CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
set (CMAKE_EXPORT_COMPILE_COMMANDS ON)
#find_package(Icecream)
#include(progs/cmake/BuildType.cmake)
include(util)
#include(cotire)
#include(PrecompiledHeader)
project (Enjo)
enable_testing()
option(BUILD_TESTS "Build Tests" ON)
option(BUILD_GAMES "Build games" ON)
option(BUILD_MDDC "Build MDDClone" ON)
option(BUILD_BOOST "Build libBoost" ON)
option(BUILD_WX "Build WX basic" ON)
option(BUILD_WX_APPS "Build WX apps" ON)
option(BUILD_QT "Build QT apps" ON)
option(BUILD_CRYPT "Build Crypto" OFF)
add_subdirectory(lib)
if (BUILD_BOOST)
add_subdirectory(libBoost)
endif()
add_subdirectory(libStat3rd)
#add_subdirectory(progs/libPoco)
if (BUILD_WX)
# add_subdirectory(progs/libwx)
# add_subdirectory(progs/stock/wxConfQT)
# if (BUILD_WX_APPS)
#add_subdirectory(progs/wx/wxLanChat)
# add_subdirectory(progs/wx/wxWyswietlaczZdjec)
# add_subdirectory(progs/wx/mouse-sim)
# add_subdirectory(progs/wx/Newsletter)
# endif()
endif()
if (BUILD_TESTS)
# Test load balancing
# Sooner defined will start sooner
add_subdirectory(tests/EnjoLibTest)
add_subdirectory(tests/EnjoLibUTest)
endif()