|
|
|
@ -2,9 +2,8 @@ FILE(GLOB SRC *.cpp *.h *.def)
|
|
|
|
|
|
|
|
|
|
ADD_LIBRARY(nel_3dsmax_shared SHARED ${SRC})
|
|
|
|
|
|
|
|
|
|
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${MAXSDK_INCLUDE_DIR})
|
|
|
|
|
INCLUDE_DIRECTORIES(${MAXSDK_INCLUDE_DIR})
|
|
|
|
|
TARGET_LINK_LIBRARIES(nel_3dsmax_shared
|
|
|
|
|
${LIBXML2_LIBRARIES}
|
|
|
|
|
nelmisc
|
|
|
|
|
nel3d
|
|
|
|
|
nel_mesh_lib
|
|
|
|
@ -12,15 +11,12 @@ TARGET_LINK_LIBRARIES(nel_3dsmax_shared
|
|
|
|
|
${MAXSDK_LIBRARIES}
|
|
|
|
|
Version.lib)
|
|
|
|
|
|
|
|
|
|
SET_TARGET_PROPERTIES(nel_3dsmax_shared PROPERTIES
|
|
|
|
|
VERSION ${NL_VERSION}
|
|
|
|
|
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
|
|
|
|
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
|
|
|
|
DEBUG_POSTFIX "_d"
|
|
|
|
|
RELEASE_POSTFIX "_r"
|
|
|
|
|
PROJECT_LABEL "MAX Plugin: NeL 3DSMAX Shared")
|
|
|
|
|
NL_DEFAULT_PROPS(nel_3dsmax_shared "MAX Plugin: NeL 3DSMAX Shared")
|
|
|
|
|
NL_ADD_RUNTIME_FLAGS(nel_3dsmax_shared)
|
|
|
|
|
NL_ADD_LIB_SUFFIX(nel_3dsmax_shared)
|
|
|
|
|
SET_TARGET_PROPERTIES(nel_export PROPERTIES SUFFIX ".dlx")
|
|
|
|
|
|
|
|
|
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS} -DNEL_3DSMAX_SHARED_EXPORTS)
|
|
|
|
|
ADD_DEFINITIONS(-DNEL_3DSMAX_SHARED_EXPORTS)
|
|
|
|
|
|
|
|
|
|
IF(WITH_PCH)
|
|
|
|
|
ADD_NATIVE_PRECOMPILED_HEADER(nel_3dsmax_shared ${CMAKE_CURRENT_SOURCE_DIR}/StdAfx.h ${CMAKE_CURRENT_SOURCE_DIR}/StdAfx.cpp)
|
|
|
|
|