Commit 6f58768f authored by Thomas Eppers's avatar Thomas Eppers
Browse files

removed unused lines in CMakeLists.txt;

added more comments
parent 882e1629
cmake_minimum_required(VERSION 2.8)
project(gdw_ss15_cpp)
#use clang instead of g++
#set(CMAKE_CXX_COMPILER "/usr/bin/clang++")
#set compiler options
if (${CMAKE_CXX_COMPILER} MATCHES "clang")
set(CMAKE_CXX_FLAGS "${CMAKE_FXX_FLAGS} -stdlib=libc++")
......@@ -19,6 +17,9 @@ if (CMAKE_BUILD_TYPE STREQUAL Debug)
add_definitions(-DSTACKTRACE)
endif ()
endif ()
################################################################################
# Libraries
################################################################################
find_package(OpenGL)
include_directories(
......@@ -90,6 +91,9 @@ FILE(GLOB_RECURSE DebugUtils
${CMAKE_CURRENT_SOURCE_DIR}/lib/recastnavigation/DebugUtils/*.cpp
${CMAKE_CURRENT_SOURCE_DIR}/lib/recastnavigation/DebugUtils/*.h
)
################################################################################
# Project settings
################################################################################
add_library(DebugUtils STATIC ${DebugUtils})
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment