2012-05-29 13:31:11 +00:00
|
|
|
FILE(GLOB SRC *.cpp *.h)
|
|
|
|
|
|
|
|
ADD_LIBRARY(world_editor_plugin SHARED ${SRC} world_editor_plugin.rc)
|
|
|
|
|
|
|
|
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)
|
|
|
|
|
2016-01-27 11:56:16 +00:00
|
|
|
ADD_DEFINITIONS(${MFC_DEFINITIONS} -DOBJECT_VIEWER_LIB_EXPORTS)
|
2012-05-29 13:31:11 +00:00
|
|
|
|
|
|
|
IF(WITH_PCH)
|
|
|
|
ADD_NATIVE_PRECOMPILED_HEADER(world_editor_plugin ${CMAKE_CURRENT_SOURCE_DIR}/StdAfx.h ${CMAKE_CURRENT_SOURCE_DIR}/StdAfx.cpp)
|
2016-10-27 08:54:09 +00:00
|
|
|
ENDIF()
|
2012-05-29 13:31:11 +00:00
|
|
|
|
2012-09-27 20:17:47 +00:00
|
|
|
INSTALL(TARGETS world_editor_plugin LIBRARY DESTINATION ${RYZOM_LIB_PREFIX} RUNTIME DESTINATION ${RYZOM_BIN_PREFIX} ARCHIVE DESTINATION ${RYZOM_LIB_PREFIX} COMPONENT tools3d)
|
|
|
|
INSTALL(FILES WorldEditorPlugin.cfg DESTINATION ${RYZOM_ETC_PREFIX} COMPONENT tools3d)
|
2012-05-29 13:31:11 +00:00
|
|
|
|