-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
19 lines (16 loc) · 934 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
cmake_minimum_required(VERSION 3.14)
project(es_init_singleton)
include_directories(SYSTEM ./ ../)
include_directories(SYSTEM ./examples ./tests)
set(CMAKE_CXX_STANDARD 17)
add_compile_options( -mcx16 -W -Wall -Wextra -Wshadow -O2 )
add_executable(singleton1 examples/singleton1.cpp singleton.h)
add_executable(singleton2 examples/singleton2.cpp singleton.h)
add_executable(singleton3 examples/singleton3.cpp examples/singleton3.h examples/singleton3a.cpp examples/singleton3b.cpp)
add_executable(singleton4bad examples/singleton4bad.cpp singleton.h)
add_executable(singleton5 examples/singleton5.cpp singleton.h)
add_executable(singleton6 examples/singleton6.cpp singleton.h)
add_executable(singleton7 examples/singleton7.cpp singleton.h)
add_executable(singleton8 examples/singleton8.cpp singleton.h)
add_executable(singleton9 examples/singleton9.cpp singleton.h)
add_executable(singleton10 examples/singleton10.cpp singleton.h)