Commit 13b551f8 authored by Thomas Eppers's avatar Thomas Eppers
Browse files

added more comments and replaced spaces with tabs

parent 7b6cf311
......@@ -113,7 +113,7 @@ add_library(nanovg ${nanovg_SRC})
#set compiler options
if (${CMAKE_CXX_COMPILER} MATCHES "clang")
set(CMAKE_CXX_FLAGS "${CMAKE_FXX_FLAGS} -stdlib=libc++")
set(CMAKE_CXX_FLAGS "${CMAKE_FXX_FLAGS} -stdlib=libc++")
endif ()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++1y")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS} -g -Wall -Wextra")
......@@ -126,7 +126,7 @@ if (CMAKE_BUILD_TYPE STREQUAL Debug)
endif ()
endif ()
#include directory
#include directory of project
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/include
)
......@@ -145,21 +145,23 @@ file(GLOB_RECURSE project_INL
#libraries to link
set(LINKED_LIBRARIES
glew_static
nanovg
DebugUtils
DetourCrowd
Detour
Recast
SDL2
SDL2main
SDL2_mixer
GL
c++
c++abi
)
glew_static
nanovg
DebugUtils
DetourCrowd
Detour
Recast
SDL2
SDL2main
SDL2_mixer
GL
c++
c++abi
)
#build executable and then link to the libraries
add_executable(Game ${project_SRC} ${project_HDR} ${project_INL})
target_link_libraries(Game ${LINKED_LIBRARIES})
#copy assets to the executable destination
file(COPY assets DESTINATION .)
Markdown is supported
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