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
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)
21 ADD_NATIVE_PRECOMPILED_HEADER(object_viewer_dll ${CMAKE_CURRENT_SOURCE_DIR}/std_afx.h ${CMAKE_CURRENT_SOURCE_DIR}/std_afx.cpp)
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)
27 INSTALL(TARGETS object_viewer_dll RUNTIME DESTINATION maxplugin COMPONENT tools3d)
28 INSTALL(FILES object_viewer.cfg DESTINATION maxplugin COMPONENT tools3d)