khanat-opennel-code/code/ryzom/tools/leveldesign/world_editor/world_editor_plugin/CMakeLists.txt

27 lines
925 B
CMake
Raw Normal View History

FILE(GLOB SRC *.cpp *.h)
ADD_LIBRARY(world_editor_plugin SHARED ${SRC} world_editor_plugin.rc)
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(world_editor_plugin
nelmisc
nel3d
nelsound
nelsnd_lowlevel
Version.lib)
NL_DEFAULT_PROPS(world_editor_plugin "Ryzom, Tools, World: World Editor Plugin DLL")
NL_ADD_RUNTIME_FLAGS(world_editor_plugin)
NL_ADD_LIB_SUFFIX(world_editor_plugin)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS} ${MFC_DEFINITIONS} -DOBJECT_VIEWER_LIB_EXPORTS)
IF(WITH_PCH)
ADD_NATIVE_PRECOMPILED_HEADER(world_editor_plugin ${CMAKE_CURRENT_SOURCE_DIR}/StdAfx.h ${CMAKE_CURRENT_SOURCE_DIR}/StdAfx.cpp)
ENDIF(WITH_PCH)
2012-09-22 20:57:38 +00:00
INSTALL(TARGETS world_editor_plugin LIBRARY DESTINATION ${RYZOM_LIB_PREFIX} RUNTIME DESTINATION bin ARCHIVE DESTINATION ${RYZOM_LIB_PREFIX} COMPONENT tools3d)
INSTALL(FILES WorldEditorPlugin.cfg DESTINATION bin COMPONENT tools3d)