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