Skip to content

Commit

Permalink
Updated after ages
Browse files Browse the repository at this point in the history
  • Loading branch information
222464 committed Nov 28, 2020
1 parent 67b06a0 commit e5c20bd
Show file tree
Hide file tree
Showing 23 changed files with 2,436 additions and 2,656 deletions.
18 changes: 3 additions & 15 deletions LTBL2/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.8)
cmake_minimum_required(VERSION 3.1)

project(LTBL2)

Expand All @@ -12,35 +12,23 @@ include_directories("${PROJECT_SOURCE_DIR}/source")
# This is only required for the script to work in the version control
set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}")

find_package(SFML 2.2 REQUIRED system window graphics)
find_package(SFML 2 REQUIRED system window graphics)

include_directories(${SFML_INCLUDE_DIR})

set( SOURCE_PATH "${PROJECT_SOURCE_DIR}/source" )
set( SOURCES
"${SOURCE_PATH}/ltbl/Math.h"
"${SOURCE_PATH}/ltbl/Math.cpp"
"${SOURCE_PATH}/ltbl/lighting/LightDirectionEmission.cpp"
"${SOURCE_PATH}/ltbl/lighting/LightDirectionEmission.h"
"${SOURCE_PATH}/ltbl/lighting/LightPointEmission.cpp"
"${SOURCE_PATH}/ltbl/lighting/LightPointEmission.h"
"${SOURCE_PATH}/ltbl/lighting/LightShape.cpp"
"${SOURCE_PATH}/ltbl/lighting/LightShape.h"
"${SOURCE_PATH}/ltbl/lighting/LightSystem.cpp"
"${SOURCE_PATH}/ltbl/lighting/LightSystem.h"
"${SOURCE_PATH}/ltbl/quadtree/DynamicQuadtree.cpp"
"${SOURCE_PATH}/ltbl/quadtree/DynamicQuadtree.h"
"${SOURCE_PATH}/ltbl/quadtree/Quadtree.cpp"
"${SOURCE_PATH}/ltbl/quadtree/Quadtree.h"
"${SOURCE_PATH}/ltbl/quadtree/QuadtreeNode.cpp"
"${SOURCE_PATH}/ltbl/quadtree/QuadtreeNode.h"
"${SOURCE_PATH}/ltbl/quadtree/QuadtreeOccupant.cpp"
"${SOURCE_PATH}/ltbl/quadtree/QuadtreeOccupant.h"
"${SOURCE_PATH}/ltbl/quadtree/StaticQuadtree.cpp"
"${SOURCE_PATH}/ltbl/quadtree/StaticQuadtree.h"
)

add_library(LTBL2 SHARED ${SOURCES})
set_target_properties(LTBL2 PROPERTIES DEBUG_POSTFIX -d)

target_link_libraries(LTBL2 ${SFML_LIBRARIES})
target_link_libraries(LTBL2 ${SFML_LIBRARIES})
Loading

0 comments on commit e5c20bd

Please sign in to comment.