Rename openmw to tes3mp

coverity_scan^2
Koncord 8 years ago
parent 90215f4e7c
commit b67789aa6a

@ -101,13 +101,13 @@ add_openmw_dir (mwmp DedicatedPlayer LocalPlayer Networking Main GUIChat GUILogi
# Main executable
if (NOT ANDROID)
add_executable(openmw
add_executable(tes3mp
${OPENMW_FILES}
${GAME} ${GAME_HEADER}
${APPLE_BUNDLE_RESOURCES}
)
else ()
add_library(openmw
add_library(tes3mp
SHARED
${OPENMW_FILES}
${GAME} ${GAME_HEADER}
@ -120,7 +120,7 @@ include_directories(
${FFmpeg_INCLUDE_DIRS}
)
target_link_libraries(openmw
target_link_libraries(tes3mp
${OSG_LIBRARIES}
${OPENTHREADS_LIBRARIES}
${OSGPARTICLE_LIBRARIES}
@ -153,7 +153,7 @@ if (ANDROID)
${OSG_PLUGINS_DIR}/libosgdb_png.a
-Wl,--no-whole-archive
)
target_link_libraries(openmw
target_link_libraries(tes3mp
EGL
android
log
@ -168,33 +168,33 @@ if (ANDROID)
endif (ANDROID)
if (USE_SYSTEM_TINYXML)
target_link_libraries(openmw ${TinyXML_LIBRARIES})
target_link_libraries(tes3mp ${TinyXML_LIBRARIES})
endif()
if (NOT UNIX)
target_link_libraries(openmw ${SDL2MAIN_LIBRARY})
target_link_libraries(tes3mp ${SDL2MAIN_LIBRARY})
endif()
# Fix for not visible pthreads functions for linker with glibc 2.15
if (UNIX AND NOT APPLE)
target_link_libraries(openmw ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries(tes3mp ${CMAKE_THREAD_LIBS_INIT})
endif()
if(APPLE)
find_library(COCOA_FRAMEWORK Cocoa)
find_library(IOKIT_FRAMEWORK IOKit)
target_link_libraries(openmw ${COCOA_FRAMEWORK} ${IOKIT_FRAMEWORK})
target_link_libraries(tes3mp ${COCOA_FRAMEWORK} ${IOKIT_FRAMEWORK})
if (FFmpeg_FOUND)
find_library(COREVIDEO_FRAMEWORK CoreVideo)
find_library(VDA_FRAMEWORK VideoDecodeAcceleration)
target_link_libraries(openmw ${COREVIDEO_FRAMEWORK} ${VDA_FRAMEWORK})
target_link_libraries(tes3mp ${COREVIDEO_FRAMEWORK} ${VDA_FRAMEWORK})
endif()
endif(APPLE)
if (BUILD_WITH_CODE_COVERAGE)
add_definitions (--coverage)
target_link_libraries(openmw gcov)
target_link_libraries(tes3mp gcov)
endif()
if (MSVC)

Loading…
Cancel
Save