mirror of
https://github.com/MadeOfJelly/MushMachine.git
synced 2024-10-29 22:45:34 +01:00
24 lines
376 B
CMake
24 lines
376 B
CMake
|
cmake_minimum_required(VERSION 3.2)
|
||
|
project(tilemap CXX)
|
||
|
|
||
|
add_library(tilemap
|
||
|
./src/mm/tilemap.hpp
|
||
|
./src/mm/tilemap.cpp
|
||
|
)
|
||
|
|
||
|
target_include_directories(tilemap PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/src")
|
||
|
|
||
|
target_link_libraries(tilemap
|
||
|
filesystem_service
|
||
|
tilemap_render_task
|
||
|
)
|
||
|
|
||
|
##########################
|
||
|
|
||
|
# TODO: test!!
|
||
|
#if (BUILD_TESTING)
|
||
|
#add_subdirectory(test)
|
||
|
#endif()
|
||
|
|
||
|
|