Import tmxlite.

This commit is contained in:
King_DuckZ 2017-07-24 01:26:05 +01:00
parent 92ed732927
commit b3e7f3ac1c
4 changed files with 7 additions and 0 deletions

3
.gitmodules vendored
View file

@ -13,3 +13,6 @@
[submodule "lib/better-enums"] [submodule "lib/better-enums"]
path = lib/better-enums path = lib/better-enums
url = https://github.com/aantron/better-enums url = https://github.com/aantron/better-enums
[submodule "lib/tmxlite"]
path = lib/tmxlite
url = https://github.com/fallahn/tmxlite.git

View file

@ -66,6 +66,7 @@ target_include_directories(${PROJECT_NAME}
) )
add_subdirectory(lib/clooneljump/src/cloonelgraphics) add_subdirectory(lib/clooneljump/src/cloonelgraphics)
add_subdirectory(lib/tmxlite/tmxlite)
add_subdirectory(src/gamelib) add_subdirectory(src/gamelib)
add_subdirectory(src/standalone) add_subdirectory(src/standalone)

1
lib/tmxlite Submodule

@ -0,0 +1 @@
Subproject commit 3934199e22d68a3a1e7c72049b5f6e85559e99dc

View file

@ -21,6 +21,7 @@ add_library(${PROJECT_NAME}
grid_raytrace.cpp grid_raytrace.cpp
drawable.cpp drawable.cpp
drawing_queue.cpp drawing_queue.cpp
assertion.cpp
) )
set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 14) set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 14)
set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD_REQUIRED ON) set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD_REQUIRED ON)
@ -42,6 +43,7 @@ target_link_libraries(${PROJECT_NAME}
PRIVATE ${PNG_LIBRARIES} PRIVATE ${PNG_LIBRARIES}
PUBLIC mycurry_toplevel PUBLIC mycurry_toplevel
PUBLIC cloonelgraphics PUBLIC cloonelgraphics
PRIVATE tmxlite
) )
target_compile_definitions(${PROJECT_NAME} target_compile_definitions(${PROJECT_NAME}