project(world)
set(CMAKE_CXX_STANDARD 17)
find_package(Bullet)
find_package(OGRE REQUIRED COMPONENTS Bites Bullet Paging Terrain Overlay CONFIG)
add_library(action STATIC action.cpp)
target_link_libraries(action PRIVATE GameData)
target_include_directories(action PUBLIC .)
add_library(world-build STATIC world-build.cpp)
target_link_libraries(world-build PRIVATE GameData)
target_include_directories(world-build PUBLIC .)

#add_executable(test test.cpp)
#target_link_libraries(test PRIVATE action world-build lua GameData OgreMain)

#add_executable(test2 test2.cpp)
#target_link_libraries(test2 PRIVATE action world-build lua GameData OgreMain)

#add_executable(mark_harbors mark_harbors.cpp)
#target_link_libraries(mark_harbors PRIVATE  lua OgreMain OgreRTShaderSystem)

#add_custom_target(world ALL DEPENDS test test2)

