From e3ea9207414f10ed5213e1f61ba8994fd6c6300d Mon Sep 17 00:00:00 2001 From: kervala Date: Wed, 1 Sep 2010 13:54:42 +0200 Subject: [PATCH] Changed: Updated 3dsmax plugins CMake projects --- .../tools/3d/ligo/plugin_max/CMakeLists.txt | 16 ++++++-------- .../nel_3dsmax_shared/CMakeLists.txt | 16 ++++++-------- .../3d/plugin_max/nel_export/CMakeLists.txt | 16 ++++++-------- .../3d/plugin_max/nel_mesh_lib/CMakeLists.txt | 17 +++++---------- .../nel_patch_converter/CMakeLists.txt | 15 +++++-------- .../plugin_max/nel_patch_edit/CMakeLists.txt | 17 +++++---------- .../nel_patch_edit_adv/CMakeLists.txt | 17 +++++---------- .../plugin_max/nel_patch_lib/CMakeLists.txt | 21 +++++-------------- .../plugin_max/nel_patch_paint/CMakeLists.txt | 14 +++++-------- .../nel_vertex_tree_paint/CMakeLists.txt | 18 ++++++---------- .../3d/plugin_max/tile_utility/CMakeLists.txt | 17 +++++---------- 11 files changed, 59 insertions(+), 125 deletions(-) diff --git a/code/nel/tools/3d/ligo/plugin_max/CMakeLists.txt b/code/nel/tools/3d/ligo/plugin_max/CMakeLists.txt index 29081370f..41123aa21 100644 --- a/code/nel/tools/3d/ligo/plugin_max/CMakeLists.txt +++ b/code/nel/tools/3d/ligo/plugin_max/CMakeLists.txt @@ -3,8 +3,8 @@ FILE(GLOB SRC *.cpp *.h ../../ig_lighter_lib/*.cpp ../../ig_lighter_lib/*.h) ADD_LIBRARY(ligoscape_utility SHARED ligoscape_utility.rc ${SRC} ligoscape_utility.def) INCLUDE_DIRECTORIES(${MAXSDK_INCLUDE_DIR} ${LIBXML2_INCLUDE_DIR}) + TARGET_LINK_LIBRARIES(ligoscape_utility - ${LIBXML2_LIBRARIES} nelmisc nelligo nel3d @@ -15,15 +15,11 @@ TARGET_LINK_LIBRARIES(ligoscape_utility nel_3dsmax_shared comctl32) -SET_TARGET_PROPERTIES(ligoscape_utility PROPERTIES - VERSION ${NL_VERSION} - LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}" - LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}" - SUFFIX ".dlx" - DEBUG_POSTFIX "_d" - RELEASE_POSTFIX "_r" - PROJECT_LABEL "MAX Plugin: Ligoscape Utility") - +SET_TARGET_PROPERTIES(ligoscape_utility PROPERTIES SUFFIX ".dlx") +NL_DEFAULT_PROPS(ligoscape_utility "MAX Plugin: Ligoscape Utility") +NL_ADD_RUNTIME_FLAGS(ligoscape_utility) +NL_ADD_LIB_SUFFIX(ligoscape_utility) + ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) INSTALL(TARGETS ligoscape_utility RUNTIME DESTINATION maxplugin/plugins LIBRARY DESTINATION lib ARCHIVE DESTINATION lib COMPONENT libraries) diff --git a/code/nel/tools/3d/plugin_max/nel_3dsmax_shared/CMakeLists.txt b/code/nel/tools/3d/plugin_max/nel_3dsmax_shared/CMakeLists.txt index 27359b29d..37a9bb0be 100644 --- a/code/nel/tools/3d/plugin_max/nel_3dsmax_shared/CMakeLists.txt +++ b/code/nel/tools/3d/plugin_max/nel_3dsmax_shared/CMakeLists.txt @@ -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) diff --git a/code/nel/tools/3d/plugin_max/nel_export/CMakeLists.txt b/code/nel/tools/3d/plugin_max/nel_export/CMakeLists.txt index 848deb77e..0c2a215dc 100644 --- a/code/nel/tools/3d/plugin_max/nel_export/CMakeLists.txt +++ b/code/nel/tools/3d/plugin_max/nel_export/CMakeLists.txt @@ -7,8 +7,8 @@ LIST(REMOVE_ITEM SRC ${CMAKE_CURRENT_SOURCE_DIR}/last_lightmap.cpp ADD_LIBRARY(nel_export SHARED ${SRC} nel_export.rc) INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${MAXSDK_INCLUDE_DIR}) + TARGET_LINK_LIBRARIES(nel_export - ${LIBXML2_LIBRARIES} nelmisc nelpacs nel3d @@ -19,15 +19,11 @@ TARGET_LINK_LIBRARIES(nel_export ${MAXSDK_LIBRARIES} Version.lib comctl32.lib) - -SET_TARGET_PROPERTIES(nel_export PROPERTIES - VERSION ${NL_VERSION} - LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}" - LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}" - DEBUG_POSTFIX "_d" - RELEASE_POSTFIX "_r" - SUFFIX ".dlu" - PROJECT_LABEL "MAX Plugin: NeL Export") + +NL_DEFAULT_PROPS(nel_export "MAX Plugin: NeL Export") +NL_ADD_RUNTIME_FLAGS(nel_export) +NL_ADD_LIB_SUFFIX(nel_export) +SET_TARGET_PROPERTIES(nel_export PROPERTIES SUFFIX ".dlu") ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) diff --git a/code/nel/tools/3d/plugin_max/nel_mesh_lib/CMakeLists.txt b/code/nel/tools/3d/plugin_max/nel_mesh_lib/CMakeLists.txt index 3e55c015a..555edd263 100644 --- a/code/nel/tools/3d/plugin_max/nel_mesh_lib/CMakeLists.txt +++ b/code/nel/tools/3d/plugin_max/nel_mesh_lib/CMakeLists.txt @@ -2,18 +2,11 @@ FILE(GLOB SRC *.cpp *.h) ADD_LIBRARY(nel_mesh_lib STATIC ${SRC}) -INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${MAXSDK_INCLUDE_DIR} ${MAXSDK_CS_INCLUDE_DIR}) -TARGET_LINK_LIBRARIES(nel_mesh_lib ${LIBXML2_LIBRARIES} nelmisc) -SET_TARGET_PROPERTIES(nel_mesh_lib PROPERTIES - VERSION ${NL_VERSION} - SOVERSION ${NL_VERSION_MAJOR} - 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 Mesh Library") - -ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) +INCLUDE_DIRECTORIES(${MAXSDK_INCLUDE_DIR} ${MAXSDK_CS_INCLUDE_DIR}) +TARGET_LINK_LIBRARIES(nel_mesh_lib nelmisc) +NL_DEFAULT_PROPS(nel_mesh_lib "MAX Plugin: NeL Mesh Library") +NL_ADD_RUNTIME_FLAGS(nel_mesh_lib) +NL_ADD_LIB_SUFFIX(nel_mesh_lib) IF(WITH_PCH) ADD_NATIVE_PRECOMPILED_HEADER(nel_mesh_lib ${CMAKE_CURRENT_SOURCE_DIR}/StdAfx.h ${CMAKE_CURRENT_SOURCE_DIR}/StdAfx.cpp) diff --git a/code/nel/tools/3d/plugin_max/nel_patch_converter/CMakeLists.txt b/code/nel/tools/3d/plugin_max/nel_patch_converter/CMakeLists.txt index e70f7471f..3d06dd679 100644 --- a/code/nel/tools/3d/plugin_max/nel_patch_converter/CMakeLists.txt +++ b/code/nel/tools/3d/plugin_max/nel_patch_converter/CMakeLists.txt @@ -2,9 +2,8 @@ FILE(GLOB SRC *.cpp *.h *.def) ADD_LIBRARY(nel_patch_converter SHARED ${SRC} nel_patch_converter.rc) -INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${MAXSDK_INCLUDE_DIR}) +INCLUDE_DIRECTORIES(${MAXSDK_INCLUDE_DIR}) TARGET_LINK_LIBRARIES(nel_patch_converter - ${LIBXML2_LIBRARIES} nelmisc nel3d nel_mesh_lib @@ -14,13 +13,9 @@ TARGET_LINK_LIBRARIES(nel_patch_converter Version.lib comctl32.lib) -SET_TARGET_PROPERTIES(nel_patch_converter PROPERTIES - VERSION ${NL_VERSION} - DEBUG_POSTFIX "_d" - RELEASE_POSTFIX "_r" - SUFFIX ".dlm" - PROJECT_LABEL "MAX Plugin: NeL Patch Converter") - -ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) +SET_TARGET_PROPERTIES(nel_patch_converter PROPERTIES SUFFIX ".dlm") +NL_DEFAULT_PROPS(nel_patch_converter "MAX Plugin: NeL Patch Converter") +NL_ADD_RUNTIME_FLAGS(nel_patch_converter) +NL_ADD_LIB_SUFFIX(nel_patch_converter) INSTALL(TARGETS nel_patch_converter RUNTIME DESTINATION maxplugin/plugins LIBRARY DESTINATION lib ARCHIVE DESTINATION lib COMPONENT libraries) diff --git a/code/nel/tools/3d/plugin_max/nel_patch_edit/CMakeLists.txt b/code/nel/tools/3d/plugin_max/nel_patch_edit/CMakeLists.txt index b99689017..5c7b42843 100644 --- a/code/nel/tools/3d/plugin_max/nel_patch_edit/CMakeLists.txt +++ b/code/nel/tools/3d/plugin_max/nel_patch_edit/CMakeLists.txt @@ -2,9 +2,8 @@ FILE(GLOB SRC *.cpp *.h *.def) ADD_LIBRARY(nel_patch_edit SHARED ${SRC} mods.rc) -INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${MAXSDK_INCLUDE_DIR}) +INCLUDE_DIRECTORIES(${MAXSDK_INCLUDE_DIR}) TARGET_LINK_LIBRARIES(nel_patch_edit - ${LIBXML2_LIBRARIES} nelmisc nel3d nel_mesh_lib @@ -14,16 +13,10 @@ TARGET_LINK_LIBRARIES(nel_patch_edit Version.lib comctl32.lib) -SET_TARGET_PROPERTIES(nel_patch_edit PROPERTIES - VERSION ${NL_VERSION} - LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}" - LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}" - DEBUG_POSTFIX "_d" - RELEASE_POSTFIX "_r" - SUFFIX ".dlm" - PROJECT_LABEL "MAX Plugin: NeL Patch Editor") - -ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) +SET_TARGET_PROPERTIES(nel_patch_edit PROPERTIES SUFFIX ".dlm") +NL_DEFAULT_PROPS(nel_patch_edit "MAX Plugin: NeL Patch Editor") +NL_ADD_RUNTIME_FLAGS(nel_patch_edit) +NL_ADD_LIB_SUFFIX(nel_patch_edit) IF(WITH_PCH) ADD_NATIVE_PRECOMPILED_HEADER(nel_patch_edit ${CMAKE_CURRENT_SOURCE_DIR}/stdafx.h ${CMAKE_CURRENT_SOURCE_DIR}/stdafx.cpp) diff --git a/code/nel/tools/3d/plugin_max/nel_patch_edit_adv/CMakeLists.txt b/code/nel/tools/3d/plugin_max/nel_patch_edit_adv/CMakeLists.txt index 15f2dab27..52a8b1bbd 100644 --- a/code/nel/tools/3d/plugin_max/nel_patch_edit_adv/CMakeLists.txt +++ b/code/nel/tools/3d/plugin_max/nel_patch_edit_adv/CMakeLists.txt @@ -2,9 +2,8 @@ FILE(GLOB SRC *.cpp *.h *.def) ADD_LIBRARY(nel_patch_edit_adv SHARED ${SRC} mods.rc) -INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${MAXSDK_INCLUDE_DIR}) +INCLUDE_DIRECTORIES(${MAXSDK_INCLUDE_DIR}) TARGET_LINK_LIBRARIES(nel_patch_edit_adv - ${LIBXML2_LIBRARIES} nelmisc nel3d nel_mesh_lib @@ -14,15 +13,9 @@ TARGET_LINK_LIBRARIES(nel_patch_edit_adv Version.lib comctl32.lib) -SET_TARGET_PROPERTIES(nel_patch_edit_adv PROPERTIES - VERSION ${NL_VERSION} - LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}" - LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}" - SUFFIX ".dlm" - DEBUG_POSTFIX "_d" - RELEASE_POSTFIX "_r" - PROJECT_LABEL "MAX Plugin: NeL Patch Edit (Adv)") - -ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) +SET_TARGET_PROPERTIES(nel_patch_edit_adv PROPERTIES SUFFIX ".dlm") +NL_DEFAULT_PROPS(nel_patch_edit_adv "MAX Plugin: NeL Patch Edit (Adv)") +NL_ADD_RUNTIME_FLAGS(nel_patch_edit_adv) +NL_ADD_LIB_SUFFIX(nel_patch_edit_adv) INSTALL(TARGETS nel_patch_edit_adv RUNTIME DESTINATION maxplugin/plugins LIBRARY DESTINATION lib ARCHIVE DESTINATION lib COMPONENT libraries) diff --git a/code/nel/tools/3d/plugin_max/nel_patch_lib/CMakeLists.txt b/code/nel/tools/3d/plugin_max/nel_patch_lib/CMakeLists.txt index 6110cc0d3..c27ec5345 100644 --- a/code/nel/tools/3d/plugin_max/nel_patch_lib/CMakeLists.txt +++ b/code/nel/tools/3d/plugin_max/nel_patch_lib/CMakeLists.txt @@ -2,21 +2,10 @@ FILE(GLOB SRC *.cpp *.h) ADD_LIBRARY(nel_patch_lib STATIC ${SRC}) -INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${MAXSDK_INCLUDE_DIR}) -TARGET_LINK_LIBRARIES(nel_patch_lib - ${LIBXML2_LIBRARIES} - nelmisc - nel3d - ${MAXSDK_LIBRARIES}) -SET_TARGET_PROPERTIES(nel_patch_lib PROPERTIES - VERSION ${NL_VERSION} - SOVERSION ${NL_VERSION_MAJOR} - 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 Patch Library") - -ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) +INCLUDE_DIRECTORIES(${MAXSDK_INCLUDE_DIR}) +TARGET_LINK_LIBRARIES(nel_patch_lib nelmisc nel3d ${MAXSDK_LIBRARIES}) +NL_DEFAULT_PROPS(nel_patch_lib "MAX Plugin: NeL Patch Library") +NL_ADD_RUNTIME_FLAGS(nel_patch_lib) +NL_ADD_LIB_SUFFIX(nel_patch_lib) INSTALL(TARGETS nel_patch_lib RUNTIME DESTINATION maxplugin/plugins LIBRARY DESTINATION lib ARCHIVE DESTINATION lib COMPONENT libraries) diff --git a/code/nel/tools/3d/plugin_max/nel_patch_paint/CMakeLists.txt b/code/nel/tools/3d/plugin_max/nel_patch_paint/CMakeLists.txt index 8b0c940e9..29ddbd82f 100644 --- a/code/nel/tools/3d/plugin_max/nel_patch_paint/CMakeLists.txt +++ b/code/nel/tools/3d/plugin_max/nel_patch_paint/CMakeLists.txt @@ -5,8 +5,8 @@ LIST(REMOVE_ITEM SRC ${CMAKE_CURRENT_SOURCE_DIR}/nel_paint.cpp) ADD_LIBRARY(nel_patch_paint SHARED ${SRC} nel_patch_paint.rc) INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${MAXSDK_INCLUDE_DIR}) + TARGET_LINK_LIBRARIES(nel_patch_paint - ${LIBXML2_LIBRARIES} nelmisc nelligo nel3d @@ -17,14 +17,10 @@ TARGET_LINK_LIBRARIES(nel_patch_paint Version.lib comctl32.lib) -SET_TARGET_PROPERTIES(nel_patch_paint PROPERTIES - LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}" - LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}" - VERSION ${NL_VERSION} - SUFFIX ".dlm" - DEBUG_POSTFIX "_d" - RELEASE_POSTFIX "_r" - PROJECT_LABEL "MAX Plugin: NeL Patch Painter") +SET_TARGET_PROPERTIES(nel_patch_paint PROPERTIES SUFFIX ".dlm") +NL_DEFAULT_PROPS(nel_patch_paint "MAX Plugin: NeL Patch Painter") +NL_ADD_RUNTIME_FLAGS(nel_patch_paint) +NL_ADD_LIB_SUFFIX(nel_patch_paint) ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) diff --git a/code/nel/tools/3d/plugin_max/nel_vertex_tree_paint/CMakeLists.txt b/code/nel/tools/3d/plugin_max/nel_vertex_tree_paint/CMakeLists.txt index 4fa021475..52462143f 100644 --- a/code/nel/tools/3d/plugin_max/nel_vertex_tree_paint/CMakeLists.txt +++ b/code/nel/tools/3d/plugin_max/nel_vertex_tree_paint/CMakeLists.txt @@ -2,9 +2,9 @@ FILE(GLOB SRC *.cpp *.h *.def) ADD_LIBRARY(nel_vertex_tree_paint SHARED ${SRC} vertex_tree_paint.def vertex_tree_paint.rc) -INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${MAXSDK_INCLUDE_DIR}) +INCLUDE_DIRECTORIES(${MAXSDK_INCLUDE_DIR}) + TARGET_LINK_LIBRARIES(nel_vertex_tree_paint - ${LIBXML2_LIBRARIES} nelmisc nel3d nel_mesh_lib @@ -14,15 +14,9 @@ TARGET_LINK_LIBRARIES(nel_vertex_tree_paint Version.lib comctl32.lib) -SET_TARGET_PROPERTIES(nel_vertex_tree_paint PROPERTIES - VERSION ${NL_VERSION} - LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}" - LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}" - DEBUG_POSTFIX "_d" - RELEASE_POSTFIX "_r" - SUFFIX ".dlm" - PROJECT_LABEL "MAX Plugin: NeL Vertex Tree Painter") - -ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) +SET_TARGET_PROPERTIES(nel_vertex_tree_paint PROPERTIES SUFFIX ".dlm") +NL_DEFAULT_PROPS(nel_vertex_tree_paint "MAX Plugin: NeL Vertex Tree Painter") +NL_ADD_RUNTIME_FLAGS(nel_vertex_tree_paint) +NL_ADD_LIB_SUFFIX(nel_vertex_tree_paint) INSTALL(TARGETS nel_vertex_tree_paint RUNTIME DESTINATION maxplugin/plugins LIBRARY DESTINATION lib ARCHIVE DESTINATION lib COMPONENT libraries) diff --git a/code/nel/tools/3d/plugin_max/tile_utility/CMakeLists.txt b/code/nel/tools/3d/plugin_max/tile_utility/CMakeLists.txt index 8430da2ec..5fc407eee 100644 --- a/code/nel/tools/3d/plugin_max/tile_utility/CMakeLists.txt +++ b/code/nel/tools/3d/plugin_max/tile_utility/CMakeLists.txt @@ -2,9 +2,8 @@ FILE(GLOB SRC *.cpp *.h *.def) ADD_LIBRARY(tile_utility SHARED ${SRC} tile_utility.rc) -INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${MAXSDK_INCLUDE_DIR}) +INCLUDE_DIRECTORIES(${MAXSDK_INCLUDE_DIR}) TARGET_LINK_LIBRARIES(tile_utility - ${LIBXML2_LIBRARIES} nelmisc nel3d nel_mesh_lib @@ -14,15 +13,9 @@ TARGET_LINK_LIBRARIES(tile_utility Version.lib comctl32.lib) -SET_TARGET_PROPERTIES(tile_utility PROPERTIES - VERSION ${NL_VERSION} - LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}" - LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}" - SUFFIX ".dlu" - DEBUG_POSTFIX "_d" - RELEASE_POSTFIX "_r" - PROJECT_LABEL "MAX Plugin: Tile Utility") - -ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) +SET_TARGET_PROPERTIES(tile_utility PROPERTIES SUFFIX ".dlu") +NL_DEFAULT_PROPS(tile_utility "MAX Plugin: Tile Utility") +NL_ADD_RUNTIME_FLAGS(tile_utility) +NL_ADD_LIB_SUFFIX(tile_utility) INSTALL(TARGETS tile_utility RUNTIME DESTINATION maxplugin/plugins LIBRARY DESTINATION lib ARCHIVE DESTINATION lib COMPONENT libraries)