Changed: #842 Added new optimizations for VC++ linker and compiler
This commit is contained in:
parent
870fb2a50a
commit
7d7ded9528
81 changed files with 181 additions and 88 deletions
|
@ -113,9 +113,12 @@ MACRO(NL_SETUP_BUILD)
|
|||
ENDIF(CMAKE_BUILD_TYPE MATCHES "Debug")
|
||||
|
||||
IF(WIN32)
|
||||
SET(NL_DEBUG_CFLAGS "/ZI /Gy /GS-")
|
||||
SET(NL_RELEASE_CFLAGS "/Ox /Ob2 /Oi /Ot /Oy /GT /GF")
|
||||
SET(NL_RELEASEDEBUG_CFLAGS "/DNL_RELEASE_DEBUG /Ob2 /GF")
|
||||
SET(NL_DEBUG_CFLAGS "/EHa /Ob1 /Zi")
|
||||
SET(NL_RELEASE_CFLAGS "/EHa /Zi /Ox /Ob2 /Oi /Ot /Oy /GT /GF /GS-")
|
||||
SET(NL_RELEASEDEBUG_CFLAGS "/EHa /DNL_RELEASE_DEBUG /Zi /Ob2 /GF")
|
||||
SET(NL_DEBUG_LINK_FLAGS "/NODEFAULTLIB:msvcrt")
|
||||
SET(NL_RELEASE_LINK_FLAGS "/OPT:REF /OPT:ICF")
|
||||
SET(NL_RELEASEDEBUG_LINK_FLAGS "/OPT:REF /OPT:ICF")
|
||||
ELSE(WIN32)
|
||||
SET(PLATFORM_CFLAGS "-ftemplate-depth-24 -D_REENTRANT -Wall -ansi -W -Wpointer-arith -Wsign-compare -Wno-deprecated-declarations -Wno-multichar -Wno-long-long -Wno-unused")
|
||||
IF(WITH_COVERAGE)
|
||||
|
@ -165,18 +168,22 @@ MACRO(NL_SETUP_BUILD_FLAGS)
|
|||
## Debug
|
||||
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} ${NL_DEBUG_CFLAGS} ${PLATFORM_CFLAGS} ")
|
||||
SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} ${NL_DEBUG_CFLAGS} ${PLATFORM_CFLAGS} ")
|
||||
SET(CMAKE_LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG} ${NL_DEBUG_LINK_FLAGS} ${PLATFORM_LINKFLAGS} ")
|
||||
|
||||
## Release
|
||||
SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} ${NL_RELEASE_CFLAGS} ${PLATFORM_CFLAGS} ")
|
||||
SET(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} ${NL_RELEASE_CFLAGS} ${PLATFORM_CFLAGS} ")
|
||||
SET(CMAKE_LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE} ${NL_RELEASE_LINK_FLAGS} ${PLATFORM_LINKFLAGS} ")
|
||||
|
||||
## RelWithDebInfo
|
||||
SET(CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO} ${NL_RELEASEDEBUG_CFLAGS} ${PLATFORM_CFLAGS} ")
|
||||
SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} ${NL_RELEASEDEBUG_CFLAGS} ${PLATFORM_CFLAGS} ")
|
||||
SET(CMAKE_LINK_FLAGS_RELWITHDEBINFO "${CMAKE_LINK_FLAGS_RELWITHDEBINFO} ${NL_RELEASEDEBUG_LINK_FLAGS} ${PLATFORM_LINKFLAGS} ")
|
||||
|
||||
## MinSizeRel
|
||||
SET(CMAKE_C_FLAGS_MINSIZEREL "${CMAKE_C_FLAGS_MINSIZEREL} ${NL_RELEASEDEBUG_CFLAGS} ${PLATFORM_CFLAGS} ")
|
||||
SET(CMAKE_CXX_FLAGS_MINSIZEREL "${CMAKE_CXX_FLAGS_MINSIZEREL} ${NL_RELEASEDEBUG_CFLAGS} ${PLATFORM_CFLAGS} ")
|
||||
SET(LINK_FLAGS_MINSIZEREL "${CMAKE_LINK_FLAGS_MINSIZEREL} ${NL_RELEASEDEBUG_LINK_CFLAGS} ${PLATFORM_LINKFLAGS} ")
|
||||
ENDMACRO(NL_SETUP_BUILD_FLAGS)
|
||||
|
||||
MACRO(NL_SETUP_PREFIX_PATHS)
|
||||
|
|
|
@ -8,7 +8,9 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${CEGUI_INCLUDE_DIRS})
|
|||
TARGET_LINK_LIBRARIES(nl_sample_cegui ${LIBXML2_LIBRARIES} ${CEGUI_LIBRARY} ${PLATFORM_LINKFLAGS} nelmisc nel3d)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(nl_sample_cegui PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt /SUBSYSTEM:WINDOWS"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
LINK_FLAGS "/SUBSYSTEM:WINDOWS"
|
||||
PROJECT_LABEL "Samples, 3D: NeL CEGUI Demo")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -8,7 +8,9 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(nl_sample_clusterview ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nelmisc nel3d)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(nl_sample_clusterview PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt /SUBSYSTEM:WINDOWS"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
LINK_FLAGS "/SUBSYSTEM:WINDOWS"
|
||||
PROJECT_LABEL "Samples, 3D: Cluster Viewer")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -8,7 +8,9 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(nl_sample_font ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nelmisc nel3d)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(nl_sample_font PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt /SUBSYSTEM:WINDOWS"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
LINK_FLAGS "/SUBSYSTEM:WINDOWS"
|
||||
PROJECT_LABEL "Samples, 3D: Font")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -6,7 +6,9 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(nl_sample_shapeview ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nelmisc nel3d)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(nl_sample_shapeview PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt /SUBSYSTEM:WINDOWS"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
LINK_FLAGS "/SUBSYSTEM:WINDOWS"
|
||||
PROJECT_LABEL "Samples, 3D: Shape Viewer")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -8,7 +8,8 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(nl_sample_georges ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nelgeorges nelmisc)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(nl_sample_georges PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Samples: Georges")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -6,7 +6,8 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(nl_sample_command ${PLATFORM_LINKFLAGS} nelmisc)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(nl_sample_command PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Samples, Misc: Commands")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -8,7 +8,8 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(nl_sample_configfile ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nelmisc)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(nl_sample_configfile PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Samples, Misc: Config Files")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -9,7 +9,8 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(nl_sample_debug ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nelmisc)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(nl_sample_debug PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Samples, Misc: Debugging")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -8,7 +8,8 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(nl_sample_i18n ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nelmisc)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(nl_sample_i18n PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Samples, Misc: I18N")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -9,7 +9,8 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(nl_sample_log ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nelmisc)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(nl_sample_log PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Samples, Misc: Logging")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -6,7 +6,8 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(nl_sample_strings ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nelmisc)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(nl_sample_strings PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Samples, Misc: Strings")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -8,7 +8,10 @@ ADD_EXECUTABLE(nl_sample_types_check ${SRC})
|
|||
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
||||
TARGET_LINK_LIBRARIES(nl_sample_types_check ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} ${NLMISC_LIB})
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(nl_sample_types_check PROPERTIES LINK_FLAGS "/NODEFAULTLIB:libcmt")
|
||||
SET_TARGET_PROPERTIES(nl_sample_types_check PROPERTIES
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
)
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
||||
|
|
|
@ -12,10 +12,14 @@ TARGET_LINK_LIBRARIES(nl_sample_chatclient ${PLATFORM_LINKFLAGS} nelmisc nelnet)
|
|||
TARGET_LINK_LIBRARIES(nl_sample_chatserver ${PLATFORM_LINKFLAGS} nelmisc nelnet)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(nl_sample_chatclient PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt /SUBSYSTEM:CONSOLE"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
LINK_FLAGS "/SUBSYSTEM:CONSOLE"
|
||||
PROJECT_LABEL "Samples, Net, Chat: Chat Client")
|
||||
SET_TARGET_PROPERTIES(nl_sample_chatserver PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt /SUBSYSTEM:WINDOWS"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
LINK_FLAGS "/SUBSYSTEM:WINDOWS"
|
||||
PROJECT_LABEL "Samples, Net, Chat: Chat Server")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -9,10 +9,14 @@ TARGET_LINK_LIBRARIES(nl_sample_ct_ai_service ${PLATFORM_LINKFLAGS} nelmisc neln
|
|||
TARGET_LINK_LIBRARIES(nl_sample_ct_gd_service ${PLATFORM_LINKFLAGS} nelmisc nelnet)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(nl_sample_ct_ai_service PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt /SUBSYSTEM:WINDOWS"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
LINK_FLAGS "/SUBSYSTEM:WINDOWS"
|
||||
PROJECT_LABEL "Samples, Net, Class Transport: AI Service")
|
||||
SET_TARGET_PROPERTIES(nl_sample_ct_gd_service PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt /SUBSYSTEM:WINDOWS"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
LINK_FLAGS "/SUBSYSTEM:WINDOWS"
|
||||
PROJECT_LABEL "Samples, Net, Class Transport: GD Service")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -9,10 +9,13 @@ TARGET_LINK_LIBRARIES(nl_sample_ls_client ${PLATFORM_LINKFLAGS} nelmisc nelnet)
|
|||
TARGET_LINK_LIBRARIES(nl_sample_ls_fes ${PLATFORM_LINKFLAGS} nelmisc nelnet)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(nl_sample_ls_client PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Samples, Net, Login Service: LS Client")
|
||||
SET_TARGET_PROPERTIES(nl_sample_ls_fes PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt /SUBSYSTEM:WINDOWS"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
LINK_FLAGS "/SUBSYSTEM:WINDOWS"
|
||||
PROJECT_LABEL "Samples, Net, Login Service: LS Frontend")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -23,10 +23,12 @@ TARGET_LINK_LIBRARIES(nl_sample_udpclient ${PLATFORM_LINKFLAGS} nelmisc nelnet n
|
|||
TARGET_LINK_LIBRARIES(nl_sample_udpserver ${PLATFORM_LINKFLAGS} nelmisc nelnet)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(nl_sample_udpclient PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Samples, Net, UDP: UDP Client")
|
||||
SET_TARGET_PROPERTIES(nl_sample_udpserver PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Samples, Net, UDP: UDP Server")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -8,7 +8,9 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(nl_sample_pacs ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nelmisc nelpacs nel3d)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(nl_sample_pacs PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt /SUBSYSTEM:WINDOWS"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
LINK_FLAGS "/SUBSYSTEM:WINDOWS"
|
||||
PROJECT_LABEL "Samples: PACS")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -8,7 +8,8 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(nl_sample_sound_sources ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nelmisc nelsound nelsnd_lowlevel)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(nl_sample_sound_sources PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Samples: Sound System")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -681,7 +681,6 @@ IF(WIN32)
|
|||
SET_TARGET_PROPERTIES(nel3d PROPERTIES COMPILE_FLAGS "/Yustd3d.h")
|
||||
SET_SOURCE_FILES_PROPERTIES(std3d.cpp PROPERTIES COMPILE_FLAGS "/Ycstd3d.h")
|
||||
SET_TARGET_PROPERTIES(nel3d PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
DEBUG_POSTFIX "_d"
|
||||
RELEASE_POSTFIX "_r")
|
||||
|
||||
|
|
|
@ -13,7 +13,8 @@ TARGET_LINK_LIBRARIES(nel_drv_direct3d_win nel3d ${LIBXML2_LIBRARIES} ${FREETYPE
|
|||
SET_TARGET_PROPERTIES(nel_drv_direct3d_win PROPERTIES
|
||||
VERSION ${NL_VERSION}
|
||||
SOVERSION ${NL_VERSION_MAJOR}
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
COMPILE_FLAGS "/Yustddirect3d.h"
|
||||
DEBUG_POSTFIX "_d"
|
||||
RELEASE_POSTFIX "_r"
|
||||
|
|
|
@ -27,7 +27,8 @@ IF(WIN32)
|
|||
SET_TARGET_PROPERTIES(${NLDRV_OGL_LIB} PROPERTIES
|
||||
DEBUG_POSTFIX "_d"
|
||||
RELEASE_POSTFIX "_r"
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt")
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}")
|
||||
ADD_DEFINITIONS(/DDRIVER_OPENGL_EXPORTS)
|
||||
ELSE(WIN32)
|
||||
IF(APPLE)
|
||||
|
|
|
@ -13,7 +13,8 @@ IF(WIN32)
|
|||
SET_TARGET_PROPERTIES(nelceguirenderer PROPERTIES
|
||||
DEBUG_POSTFIX "_d"
|
||||
RELEASE_POSTFIX "_r"
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt")
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}")
|
||||
ADD_DEFINITIONS("/DNEL_CEGUIRENDERER_EXPORTS")
|
||||
ENDIF(WIN32)
|
||||
|
||||
|
|
|
@ -23,7 +23,6 @@ IF(WIN32)
|
|||
SET_TARGET_PROPERTIES(nelgeorges PROPERTIES COMPILE_FLAGS "/Yustdgeorges.h")
|
||||
SET_SOURCE_FILES_PROPERTIES(stdgeorges.cpp PROPERTIES COMPILE_FLAGS "/Ycstdgeorges.h")
|
||||
SET_TARGET_PROPERTIES(nelgeorges PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
DEBUG_POSTFIX "_d"
|
||||
RELEASE_POSTFIX "_r")
|
||||
ENDIF(WIN32)
|
||||
|
|
|
@ -17,7 +17,6 @@ SET_TARGET_PROPERTIES(nelligo PROPERTIES
|
|||
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(nelligo PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
DEBUG_POSTFIX "_d"
|
||||
RELEASE_POSTFIX "_r")
|
||||
ENDIF(WIN32)
|
||||
|
|
|
@ -15,7 +15,6 @@ SET_TARGET_PROPERTIES(nellogic PROPERTIES
|
|||
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(nellogic PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
DEBUG_POSTFIX "_d"
|
||||
RELEASE_POSTFIX "_r")
|
||||
ENDIF(WIN32)
|
||||
|
|
|
@ -43,7 +43,6 @@ IF(WIN32)
|
|||
ENDFOREACH (FILENAME)
|
||||
|
||||
SET_TARGET_PROPERTIES(nelmisc PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
DEBUG_POSTFIX "_d"
|
||||
RELEASE_POSTFIX "_r")
|
||||
INCLUDE_DIRECTORIES(${DXSDK_INCLUDE_DIR})
|
||||
|
|
|
@ -34,7 +34,6 @@ IF(WIN32)
|
|||
SET_TARGET_PROPERTIES(${NLNET_LIB} PROPERTIES COMPILE_FLAGS "/Yustdnet.h")
|
||||
SET_SOURCE_FILES_PROPERTIES(stdnet.cpp PROPERTIES COMPILE_FLAGS "/Ycstdnet.h")
|
||||
SET_TARGET_PROPERTIES(${NLNET_LIB} PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
DEBUG_POSTFIX "_d"
|
||||
RELEASE_POSTFIX "_r")
|
||||
ENDIF(WIN32)
|
||||
|
|
|
@ -26,7 +26,6 @@ IF(WIN32)
|
|||
SET_TARGET_PROPERTIES(nelsound PROPERTIES COMPILE_FLAGS "/Yustdsound.h")
|
||||
SET_SOURCE_FILES_PROPERTIES(stdsound.cpp PROPERTIES COMPILE_FLAGS "/Ycstdsound.h")
|
||||
SET_TARGET_PROPERTIES(nelsound PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
DEBUG_POSTFIX "_d"
|
||||
RELEASE_POSTFIX "_r")
|
||||
ENDIF(WIN32)
|
||||
|
|
|
@ -7,7 +7,8 @@ TARGET_LINK_LIBRARIES(nel_drv_dsound ${LIBXML2_LIBRARIES} nelsnd_lowlevel ${DXSD
|
|||
SET_TARGET_PROPERTIES(nel_drv_dsound PROPERTIES
|
||||
VERSION ${NL_VERSION}
|
||||
SOVERSION ${NL_VERSION_MAJOR}
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
COMPILE_FLAGS "/Yustddsound.h"
|
||||
DEBUG_POSTFIX "_d"
|
||||
RELEASE_POSTFIX "_r"
|
||||
|
|
|
@ -14,7 +14,8 @@ IF(WIN32)
|
|||
SET_TARGET_PROPERTIES(nel_drv_fmod PROPERTIES COMPILE_FLAGS "/Yustdfmod.h")
|
||||
SET_SOURCE_FILES_PROPERTIES(stdfmod.cpp PROPERTIES COMPILE_FLAGS "/Ycstdfmod.h")
|
||||
SET_TARGET_PROPERTIES(nel_drv_fmod PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
DEBUG_POSTFIX "_d"
|
||||
RELEASE_POSTFIX "_r")
|
||||
ENDIF(WIN32)
|
||||
|
|
|
@ -18,7 +18,8 @@ IF(WIN32)
|
|||
SET_TARGET_PROPERTIES(nel_drv_openal PROPERTIES COMPILE_FLAGS "/Yustdopenal.h")
|
||||
SET_SOURCE_FILES_PROPERTIES(stdopenal.cpp PROPERTIES COMPILE_FLAGS "/Ycstdopenal.h")
|
||||
SET_TARGET_PROPERTIES(nel_drv_openal PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
DEBUG_POSTFIX "_d"
|
||||
RELEASE_POSTFIX "_r"
|
||||
PROJECT_LABEL "Driver, Sound: OpenAL")
|
||||
|
|
|
@ -13,7 +13,8 @@ IF(WIN32)
|
|||
SET_TARGET_PROPERTIES(nel_drv_xaudio2 PROPERTIES COMPILE_FLAGS "/Yustdxaudio2.h")
|
||||
SET_SOURCE_FILES_PROPERTIES(stdxaudio2.cpp PROPERTIES COMPILE_FLAGS "/Ycstdxaudio2.h")
|
||||
SET_TARGET_PROPERTIES(nel_drv_xaudio2 PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
DEBUG_POSTFIX "_d"
|
||||
RELEASE_POSTFIX "_r"
|
||||
PROJECT_LABEL "Driver, Sound: XAudio2")
|
||||
|
|
|
@ -6,7 +6,8 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(build_clod_bank ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nel3d)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(build_clod_bank PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Tools, 3D: build_clod_bank")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -7,7 +7,8 @@ TARGET_LINK_LIBRARIES(build_clodtex ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} n
|
|||
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(build_clodtex PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Tools, 3D: build_clodtex")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -6,7 +6,8 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(build_coarse_mesh ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nel3d)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(build_coarse_mesh PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Tools, 3D: build_coarse_mesh")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -6,8 +6,9 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(build_far_bank ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nel3d)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(build_far_bank PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
PROJECT_LABEL "Tools, 3D: build_far_bank")
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Tools, 3D: build_far_bank")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
||||
|
|
|
@ -6,7 +6,8 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(build_interface ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nelmisc)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(build_interface PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Tools, 3D: build_interface")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -6,7 +6,8 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(build_shadow_skin ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nel3d)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(build_shadow_skin PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Tools, 3D: build_shadow_skin")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -6,7 +6,8 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(build_smallbank ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nel3d)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(build_smallbank PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Tools, 3D: build_smallbank")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -6,7 +6,9 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(cluster_viewer ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nel3d)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(cluster_viewer PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt /SUBSYSTEM:WINDOWS"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
LINK_FLAGS "/SUBSYSTEM:WINDOWS"
|
||||
PROJECT_LABEL "Tools, 3D: Cluster Viewer")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -6,7 +6,8 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(file_info ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nel3d)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(file_info PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Tools, 3D: file_info")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -6,7 +6,8 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(get_neighbors ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS})
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(get_neighbors PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Tools, 3D: get_neighbors")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -6,7 +6,8 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(ig_add ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nel3d)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(ig_add PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Tools, 3D: ig_add")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -6,7 +6,8 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(ig_info ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nel3d)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(ig_info PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Tools, 3D: ig_info")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -6,7 +6,8 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(ig_lighter ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nel3d nelpacs)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(ig_lighter PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Tools, 3D: ig_lighter")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -17,7 +17,8 @@ TARGET_LINK_LIBRARIES(ligoscape_utility
|
|||
|
||||
SET_TARGET_PROPERTIES(ligoscape_utility PROPERTIES
|
||||
VERSION ${NL_VERSION}
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
SUFFIX ".dlx"
|
||||
DEBUG_POSTFIX "_d"
|
||||
RELEASE_POSTFIX "_r"
|
||||
|
|
|
@ -20,7 +20,8 @@ TARGET_LINK_LIBRARIES(object_viewer_dll
|
|||
|
||||
SET_TARGET_PROPERTIES(object_viewer_dll PROPERTIES
|
||||
VERSION ${NL_VERSION}
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
DEBUG_POSTFIX "_d"
|
||||
RELEASE_POSTFIX "_r"
|
||||
PROJECT_LABEL "Tools, 3D: Object Viewer DLL")
|
||||
|
|
|
@ -19,7 +19,8 @@ ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
|||
SET_TARGET_PROPERTIES(object_viewer PROPERTIES COMPILE_FLAGS "/Yustd_afx.h")
|
||||
SET_SOURCE_FILES_PROPERTIES(std_afx.cpp PROPERTIES COMPILE_FLAGS "/Ycstd_afx.h")
|
||||
SET_TARGET_PROPERTIES(object_viewer PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Tools, 3D: Object Viewer")
|
||||
|
||||
INSTALL(TARGETS object_viewer RUNTIME DESTINATION bin COMPONENT tools3d)
|
||||
|
|
|
@ -8,7 +8,8 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${SQUISH_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(panoply_maker ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} ${SQUISH_LIBRARY} nelmisc nel3d)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(panoply_maker PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt /NODEFAULTLIB:libc"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Tools, 3D: panoply_maker")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -14,7 +14,8 @@ TARGET_LINK_LIBRARIES(nel_3dsmax_shared
|
|||
|
||||
SET_TARGET_PROPERTIES(nel_3dsmax_shared PROPERTIES
|
||||
VERSION ${NL_VERSION}
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
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")
|
||||
|
|
|
@ -22,7 +22,8 @@ TARGET_LINK_LIBRARIES(nel_export
|
|||
|
||||
SET_TARGET_PROPERTIES(nel_export PROPERTIES
|
||||
VERSION ${NL_VERSION}
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
DEBUG_POSTFIX "_d"
|
||||
RELEASE_POSTFIX "_r"
|
||||
SUFFIX ".dlu"
|
||||
|
|
|
@ -7,7 +7,8 @@ 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 "/NODEFAULTLIB:libcmt"
|
||||
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")
|
||||
|
|
|
@ -16,7 +16,8 @@ TARGET_LINK_LIBRARIES(nel_patch_edit
|
|||
|
||||
SET_TARGET_PROPERTIES(nel_patch_edit PROPERTIES
|
||||
VERSION ${NL_VERSION}
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
DEBUG_POSTFIX "_d"
|
||||
RELEASE_POSTFIX "_r"
|
||||
SUFFIX ".dlm"
|
||||
|
|
|
@ -16,7 +16,8 @@ TARGET_LINK_LIBRARIES(nel_patch_edit_adv
|
|||
|
||||
SET_TARGET_PROPERTIES(nel_patch_edit_adv PROPERTIES
|
||||
VERSION ${NL_VERSION}
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
SUFFIX ".dlm"
|
||||
DEBUG_POSTFIX "_d"
|
||||
RELEASE_POSTFIX "_r"
|
||||
|
|
|
@ -11,7 +11,8 @@ TARGET_LINK_LIBRARIES(nel_patch_lib
|
|||
SET_TARGET_PROPERTIES(nel_patch_lib PROPERTIES
|
||||
VERSION ${NL_VERSION}
|
||||
SOVERSION ${NL_VERSION_MAJOR}
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
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")
|
||||
|
|
|
@ -18,7 +18,8 @@ TARGET_LINK_LIBRARIES(nel_patch_paint
|
|||
comctl32.lib)
|
||||
|
||||
SET_TARGET_PROPERTIES(nel_patch_paint PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
VERSION ${NL_VERSION}
|
||||
SUFFIX ".dlm"
|
||||
DEBUG_POSTFIX "_d"
|
||||
|
|
|
@ -16,7 +16,8 @@ TARGET_LINK_LIBRARIES(nel_vertex_tree_paint
|
|||
|
||||
SET_TARGET_PROPERTIES(nel_vertex_tree_paint PROPERTIES
|
||||
VERSION ${NL_VERSION}
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
DEBUG_POSTFIX "_d"
|
||||
RELEASE_POSTFIX "_r"
|
||||
SUFFIX ".dlm"
|
||||
|
|
|
@ -16,7 +16,8 @@ TARGET_LINK_LIBRARIES(tile_utility
|
|||
|
||||
SET_TARGET_PROPERTIES(tile_utility PROPERTIES
|
||||
VERSION ${NL_VERSION}
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
SUFFIX ".dlu"
|
||||
DEBUG_POSTFIX "_d"
|
||||
RELEASE_POSTFIX "_r"
|
||||
|
|
|
@ -6,7 +6,9 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(shapes_exporter ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nelmisc nel3d)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(shapes_exporter PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt /SUBSYSTEM:WINDOWS"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
LINK_FLAGS "/SUBSYSTEM:WINDOWS"
|
||||
PROJECT_LABEL "Tools, 3D: Shapes Exporter")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -6,7 +6,8 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(tga_cut ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nelmisc)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(tga_cut PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Tools, 3D: tga_cut")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -6,7 +6,8 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(tga_resize ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nelmisc)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(tga_resize PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Tools, 3D: tga_resize")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -14,7 +14,8 @@ ADD_DEFINITIONS(${LIBXML2_DEFINITIONS} -D_AFXDLL)
|
|||
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(tile_edit PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
EXCLUDE_FROM_DEFAULT_BUILD 1
|
||||
PROJECT_LABEL "Tools, 3D: Tile Editor")
|
||||
ENDIF(WIN32)
|
||||
|
|
|
@ -6,7 +6,8 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(zone_check_bind ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nel3d)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(zone_check_bind PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Tools, 3D: zone_check_bind")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -6,7 +6,8 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(zone_dependencies ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nel3d nelgeorges)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(zone_dependencies PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Tools, 3D: zone_dependencies")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -6,7 +6,8 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(zone_dump ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nel3d)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(zone_dump PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Tools, 3D: zone_dump")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -6,7 +6,8 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(zone_ig_lighter ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nel3d)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(zone_ig_lighter PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Tools, 3D: zone_ig_lighter")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -6,7 +6,8 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(zone_lighter ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nel3d nelgeorges)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(zone_lighter PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Tools, 3D: zone_lighter")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -6,7 +6,8 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(zone_welder ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nel3d)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(zone_welder PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Tools, 3D: zone_welder")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -12,7 +12,8 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(zviewer ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nel3d)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(zviewer PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Tools, 3D: Zone Viewer")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -6,7 +6,8 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(georges2csv ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nelmisc nelgeorges)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(georges2csv PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Tools, Georges: georges2csv")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -18,7 +18,10 @@ SET_TARGET_PROPERTIES(logic_editor_dll PROPERTIES
|
|||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(logic_editor_dll PROPERTIES COMPILE_FLAGS "/YuStdAfx.h")
|
||||
SET_SOURCE_FILES_PROPERTIES(StdAfx.cpp PROPERTIES COMPILE_FLAGS "/YcStdAfx.h")
|
||||
SET_TARGET_PROPERTIES(logic_editor_dll PROPERTIES LINK_FLAGS "/NODEFAULTLIB:libcmt")
|
||||
SET_TARGET_PROPERTIES(logic_editor_dll PROPERTIES
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
)
|
||||
ENDIF(WIN32)
|
||||
|
||||
|
||||
|
|
|
@ -10,7 +10,8 @@ IF(WIN32)
|
|||
SET_TARGET_PROPERTIES(logic_editor PROPERTIES COMPILE_FLAGS "/YuStdAfx.h")
|
||||
SET_SOURCE_FILES_PROPERTIES(StdAfx.cpp PROPERTIES COMPILE_FLAGS "/YcStdAfx.h")
|
||||
SET_TARGET_PROPERTIES(logic_editor PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Tools, Logic: Logic Editor")
|
||||
ENDIF(WIN32)
|
||||
|
||||
|
|
|
@ -6,7 +6,8 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(bnp_make ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nelmisc)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(bnp_make PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Tools, Misc: bnp_make")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -6,7 +6,8 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(disp_sheet_id ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nelmisc)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(disp_sheet_id PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Tools, Misc: disp_sheet_id")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -8,7 +8,8 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(make_sheet_id ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nelmisc)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(make_sheet_id PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Tools, Misc: make_sheet_id")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -6,7 +6,8 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(xml_packer ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nelmisc)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(xml_packer PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Tools, Misc: xml_packer")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -13,7 +13,8 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${CPPTEST_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(nel_unit_test ${LIBXML2_LIBRARIES} ${CPPTEST_LIBRARY} ${PLATFORM_LINKFLAGS} nelmisc nelnet nelligo)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(nel_unit_test PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Unit Tests")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -8,7 +8,8 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(build_ig_boxes ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nelpacs nel3d)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(build_ig_boxes PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Tools, PACS: build_ig_boxes")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -8,7 +8,8 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(build_indoor_rbank ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nelpacs)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(build_indoor_rbank PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Tools, PACS: build_indoor_rbank")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
|
@ -8,7 +8,8 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|||
TARGET_LINK_LIBRARIES(build_rbank ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nelpacs nel3d nelligo)
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(build_rbank PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||||
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||||
PROJECT_LABEL "Tools, PACS: build_rbank")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
|
Loading…
Reference in a new issue