git.haldean.org ana / 8be87ea CMakeLists.txt
8be87ea

Tree @8be87ea (Download .tar.gz)

CMakeLists.txt @8be87earaw · history · blame

cmake_minimum_required(VERSION 3.7 FATAL_ERROR)
cmake_policy(VERSION 3.7)
project(ana VERSION 0.1.0 LANGUAGES CXX)

find_package(glm REQUIRED)
find_package(SDL2 REQUIRED)
find_package(GLEW REQUIRED)

set(CMAKE_CXX_FLAGS "-Wall -Werror")

include_directories(lib)

add_executable(ana
  src/ana.cpp
  src/node.cpp
  src/shaders.cpp
  src/ui.cpp
  lib/wbogl/shader_utils.cpp)

target_link_libraries(ana glm SDL2 GLEW GL)