1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
matabstrix/CMakeLists.txt

17 lines
499 B
Text
Raw Normal View History

2015-11-03 06:46:05 -05:00
cmake_minimum_required (VERSION 3.0)
2015-11-03 23:13:34 -05:00
set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")
2015-11-07 08:04:44 -05:00
set (CMAKE_RUNTIME_OUTPUT_DIRECTORY "build")
2015-11-03 06:46:05 -05:00
project (Matabstrix)
add_definitions ("-std=c++14 -Wall -Wextra")
2015-11-06 17:47:24 -05:00
set (CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "--use-preload-plugins --preload-file data")
2015-11-03 23:13:34 -05:00
2015-11-07 07:54:40 -05:00
file (GLOB sources "src/*.cpp")
2015-11-03 23:13:34 -05:00
2015-11-03 06:46:05 -05:00
add_executable (matabstrix ${sources})
2015-11-03 09:50:08 -05:00
set (CMAKE_EXECUTABLE_SUFFIX ".html")
2015-11-03 23:48:27 -05:00
find_package (GLM REQUIRED)
include_directories (${GLM_INCLUDE_DIRS})