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
508 B
CMake
Raw Normal View History

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