-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
18 lines (13 loc) · 907 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
if(MSVC)
option(USE_MINGW "USE MINGW COMPILER" OFF)
if(USE_MINGW)
SET(CMAKE_C_COMPILER C:/MinGW/bin/gcc.exe CACHE PATH "If different: Replace this path with your MINGW g++.exe Path")
SET(CMAKE_CXX_COMPILER C:/MinGW/bin/g++.exe CACHE PATH "If different: Replace this path with your MINGW g++.exe Path")
endif()
endif()
cmake_minimum_required(VERSION 2.8)
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/ CACHE PATH "Project specific path. Set manually if it was not found.")
set(DEPENDENCIES_PATH ${CMAKE_BINARY_DIR}/dependencies/ CACHE PATH "Project specific path. Set manually if it was not found.")
set(RESOURCES_PATH ${CMAKE_SOURCE_DIR}/resources/ CACHE PATH "Project specific path. Set manually if it was not found.")
set(SHADERS_PATH ${CMAKE_SOURCE_DIR}/src/shaders/ CACHE PATH "Project specific path. Set manually if it was not found.")
include(${CMAKE_MODULE_PATH}/DefaultProject.cmake)