File tree Expand file tree Collapse file tree 4 files changed +8
-2
lines changed Expand file tree Collapse file tree 4 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1
1
[submodule "ext/sfml "]
2
2
path = ext/sfml
3
3
url = https://github.com/SFML/SFML
4
+ [submodule "ext/pini "]
5
+ path = ext/pini
6
+ url = https://github.com/cpp-gamedev/pini
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ set(BUILD_SHARED_LIBS OFF)
5
5
6
6
project (world-clock )
7
7
8
+ add_subdirectory (ext/pini )
8
9
add_subdirectory (ext/sfml )
9
10
10
11
set (CMAKE_BUILD_TYPE Debug CACHE STRING "" )
@@ -29,8 +30,8 @@ endif()
29
30
# exe
30
31
file (GLOB_RECURSE SOURCES CONFIGURE_DEPENDS "src/*.?pp" )
31
32
add_executable (${PROJECT_NAME} ${SOURCES} )
32
- target_include_directories (${PROJECT_NAME} PRIVATE src )
33
- target_link_libraries (${PROJECT_NAME} PRIVATE sfml-graphics )
33
+ target_include_directories (${PROJECT_NAME} PRIVATE src ext/pini )
34
+ target_link_libraries (${PROJECT_NAME} PRIVATE sfml-graphics pini::pini )
34
35
target_compile_features (${PROJECT_NAME} PRIVATE cxx_std_20 )
35
36
36
37
if (CMAKE_CXX_COMPILER_ID STREQUAL MSVC )
Original file line number Diff line number Diff line change 5
5
#include < delta_time.hpp>
6
6
#include < gfx/follow_eye.hpp>
7
7
#include < maths/maths.hpp>
8
+ #include < pini/pini.hpp>
8
9
#include < world_clock/gui.hpp>
9
10
#include < world_clock/io.hpp>
10
11
You can’t perform that action at this time.
0 commit comments