-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
executable file
·46 lines (35 loc) · 1.05 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
cmake_minimum_required(VERSION 2.4)
project(Fractals)
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Release)
endif()
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
set(CMAKE_CXX_FLAGS "-Wall -Wextra -pthread")
set(CMAKE_CXX_FLAGS_DEBUG "-g")
set(CMAKE_CXX_FLAGS_RELEASE "-O3")
set(CMAKE_CXX_STANDARD 14)
include_directories(common)
add_executable(fern
barnsleys_fern/main.cpp
common/color.hpp common/color.cpp
common/image.hpp common/image.cpp)
add_executable(buddhabrot
buddhabrot/main.cpp
common/color.hpp common/color.cpp
common/image.hpp common/image.cpp)
add_executable(burning_ship
burning_ship/main.cpp
common/color.hpp common/color.cpp
common/image.hpp common/image.cpp)
add_executable(h_tree
h_tree/main.cpp
common/color.hpp common/color.cpp
common/image.hpp common/image.cpp)
add_executable(t_squere
t_squere/main.cpp
common/color.hpp common/color.cpp
common/image.hpp common/image.cpp)
add_executable(mandelbrot
mandelbrot/main.cpp
common/color.hpp common/color.cpp
common/image.hpp common/image.cpp)