|
|
|
@ -91,9 +91,11 @@ add_component_dir (misc
|
|
|
|
|
gcd constants utf8stream stringops resourcehelpers rng messageformatparser weakcache
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
add_component_dir (debug
|
|
|
|
|
debugging debuglog
|
|
|
|
|
)
|
|
|
|
|
if (BUILD_OPENMW OR BUILD_OPENCS)
|
|
|
|
|
add_component_dir(debug
|
|
|
|
|
debugging debuglog
|
|
|
|
|
)
|
|
|
|
|
endif ()
|
|
|
|
|
|
|
|
|
|
IF(NOT WIN32 AND NOT APPLE)
|
|
|
|
|
add_definitions(-DGLOBAL_DATA_PATH="${GLOBAL_DATA_PATH}")
|
|
|
|
@ -217,28 +219,32 @@ add_component_dir (fallback
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
if(NOT WIN32 AND NOT ANDROID)
|
|
|
|
|
add_component_dir (crashcatcher
|
|
|
|
|
crashcatcher
|
|
|
|
|
)
|
|
|
|
|
if (BUILD_OPENMW OR BUILD_OPENCS)
|
|
|
|
|
add_component_dir (crashcatcher
|
|
|
|
|
crashcatcher
|
|
|
|
|
)
|
|
|
|
|
endif()
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
add_component_dir(detournavigator
|
|
|
|
|
debug
|
|
|
|
|
makenavmesh
|
|
|
|
|
findsmoothpath
|
|
|
|
|
recastmeshbuilder
|
|
|
|
|
recastmeshmanager
|
|
|
|
|
cachedrecastmeshmanager
|
|
|
|
|
navmeshmanager
|
|
|
|
|
navigatorimpl
|
|
|
|
|
asyncnavmeshupdater
|
|
|
|
|
chunkytrimesh
|
|
|
|
|
recastmesh
|
|
|
|
|
tilecachedrecastmeshmanager
|
|
|
|
|
recastmeshobject
|
|
|
|
|
navmeshtilescache
|
|
|
|
|
settings
|
|
|
|
|
)
|
|
|
|
|
add_component_dir(settings)
|
|
|
|
|
|
|
|
|
|
if (BUILD_OPENMW OR BUILD_OPENCS)
|
|
|
|
|
add_component_dir(detournavigator
|
|
|
|
|
makenavmesh
|
|
|
|
|
findsmoothpath
|
|
|
|
|
recastmeshbuilder
|
|
|
|
|
recastmeshmanager
|
|
|
|
|
cachedrecastmeshmanager
|
|
|
|
|
navmeshmanager
|
|
|
|
|
navigatorimpl
|
|
|
|
|
asyncnavmeshupdater
|
|
|
|
|
chunkytrimesh
|
|
|
|
|
recastmesh
|
|
|
|
|
tilecachedrecastmeshmanager
|
|
|
|
|
recastmeshobject
|
|
|
|
|
navmeshtilescache
|
|
|
|
|
)
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
set (ESM_UI ${CMAKE_SOURCE_DIR}/files/ui/contentselector.ui
|
|
|
|
|
)
|
|
|
|
@ -303,11 +309,15 @@ target_link_libraries(components
|
|
|
|
|
${OPENGL_gl_LIBRARY}
|
|
|
|
|
${MyGUI_LIBRARIES}
|
|
|
|
|
${BSAOPTHASH_LIBRARIES}
|
|
|
|
|
RecastNavigation::DebugUtils
|
|
|
|
|
RecastNavigation::Detour
|
|
|
|
|
RecastNavigation::Recast
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
if (BUILD_OPENMW OR BUILD_OPENCS)
|
|
|
|
|
target_link_libraries(components
|
|
|
|
|
RecastNavigation::DebugUtils
|
|
|
|
|
RecastNavigation::Detour
|
|
|
|
|
RecastNavigation::Recast)
|
|
|
|
|
endif ()
|
|
|
|
|
|
|
|
|
|
if (WIN32)
|
|
|
|
|
target_link_libraries(components
|
|
|
|
|
${Boost_LOCALE_LIBRARY}
|
|
|
|
|