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
2015-11-07 13:04:44 +00:00

16 lines
499 B
CMake

cmake_minimum_required (VERSION 3.0)
set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")
set (CMAKE_RUNTIME_OUTPUT_DIRECTORY "build")
project (Matabstrix)
add_definitions ("-std=c++14 -Wall -Wextra")
set (CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "--use-preload-plugins --preload-file data")
file (GLOB sources "src/*.cpp")
add_executable (matabstrix ${sources})
set (CMAKE_EXECUTABLE_SUFFIX ".html")
find_package (GLM REQUIRED)
include_directories (${GLM_INCLUDE_DIRS})