Added aqua_speed for rite geo 50 tryker
[ryzomcore.git] / nel / tools / 3d / object_viewer / CMakeLists.txt
blob4d626f6c938518d625fcf9b27354468611b467fc
1 FILE(GLOB SRC *.cpp *.h *.rc *.rc2)
3 SOURCE_GROUP("" FILES ${SRC})
5 ADD_LIBRARY(object_viewer_dll SHARED ${SRC})
7 TARGET_LINK_LIBRARIES(object_viewer_dll 
8                                                         nelmisc
9                                                         nel3d
10                                                         nelsound
11                                                         nelsnd_lowlevel
12                                                         Version.lib)
13                                                         
14 NL_DEFAULT_PROPS(object_viewer_dll "NeL, Tools, 3D: Object Viewer DLL")
15 NL_ADD_RUNTIME_FLAGS(object_viewer_dll)
16 NL_ADD_LIB_SUFFIX(object_viewer_dll)
18 ADD_DEFINITIONS(${MFC_DEFINITIONS} -DOBJECT_VIEWER_LIB_EXPORTS)
20 IF(WITH_PCH)
21   ADD_NATIVE_PRECOMPILED_HEADER(object_viewer_dll ${CMAKE_CURRENT_SOURCE_DIR}/std_afx.h ${CMAKE_CURRENT_SOURCE_DIR}/std_afx.cpp)
22 ENDIF()
24 INSTALL(TARGETS object_viewer_dll LIBRARY DESTINATION ${NL_LIB_PREFIX} RUNTIME DESTINATION ${NL_BIN_PREFIX} ARCHIVE DESTINATION ${NL_LIB_PREFIX} COMPONENT tools3d)
25 INSTALL(FILES object_viewer.cfg DESTINATION ${NL_ETC_PREFIX} COMPONENT tools3d)
26 IF(WITH_MAXPLUGIN)
27   INSTALL(TARGETS object_viewer_dll RUNTIME DESTINATION maxplugin COMPONENT tools3d)
28   INSTALL(FILES object_viewer.cfg DESTINATION maxplugin COMPONENT tools3d)
29 ENDIF()