-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
26 lines (24 loc) · 955 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
# Minimum Cmake version
cmake_minimum_required(VERSION 2.6)
###################################################
# PROJECT Configuration
###################################################
# Project's name
project(VZGL-Mini)
# Set Folder for storing Binaries
set(CMAKE_BINARY_DIR ${CMAKE_SOURCE_DIR}/bin)
# Set Folder for storing Executables
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_SOURCE_DIR}/bin)
# Set Folder for storing Libraries
set(LIBRARY_OUTPUT_PATH ${CMAKE_SOURCE_DIR}/libs)
# Add Folder with Header Files
include_directories(${CMAKE_SOURCE_DIR}/include)
# Turn on Optimised debugging for gdb
set(CMAKE_BUILD_TYPE RelWithDebInfo)
# Add CXXFLAGS
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -Wall -pg -O3")
#####################################################
# Renderer Configuration
#####################################################
# Build the program
add_executable(render src/main.cpp src/tgaimage.cpp src/wireframe.cpp src/model.cpp)