Added: New tools projects
This commit is contained in:
parent
6a348e7194
commit
e33ffc0a3c
12 changed files with 119 additions and 4 deletions
|
@ -1,10 +1,20 @@
|
||||||
ADD_SUBDIRECTORY(bnp_make)
|
SUBDIRS(bnp_make disp_sheet_id extract_filename lock make_sheet_id xml_packer)
|
||||||
ADD_SUBDIRECTORY(disp_sheet_id)
|
|
||||||
ADD_SUBDIRECTORY(make_sheet_id)
|
|
||||||
ADD_SUBDIRECTORY(xml_packer)
|
|
||||||
|
|
||||||
IF(WITH_QT)
|
IF(WITH_QT)
|
||||||
ADD_SUBDIRECTORY(words_dic_qt)
|
ADD_SUBDIRECTORY(words_dic_qt)
|
||||||
ADD_SUBDIRECTORY(message_box_qt)
|
ADD_SUBDIRECTORY(message_box_qt)
|
||||||
ENDIF(WITH_QT)
|
ENDIF(WITH_QT)
|
||||||
|
|
||||||
|
IF(WIN32)
|
||||||
|
ADD_SUBDIRECTORY(exec_timeout)
|
||||||
|
ADD_SUBDIRECTORY(message_box)
|
||||||
|
ADD_SUBDIRECTORY(multi_cd_setup_fix)
|
||||||
|
|
||||||
|
IF(MFC_FOUND)
|
||||||
|
ADD_SUBDIRECTORY(branch_patcher)
|
||||||
|
ADD_SUBDIRECTORY(data_mirror)
|
||||||
|
ADD_SUBDIRECTORY(log_analyser)
|
||||||
|
ADD_SUBDIRECTORY(log_analyser_plug_ins)
|
||||||
|
ADD_SUBDIRECTORY(words_dic)
|
||||||
|
ENDIF(MFC_FOUND)
|
||||||
|
ENDIF(WIN32)
|
||||||
|
|
11
code/nel/tools/misc/branch_patcher/CMakeLists.txt
Normal file
11
code/nel/tools/misc/branch_patcher/CMakeLists.txt
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
FILE(GLOB SRC *.cpp *.h)
|
||||||
|
|
||||||
|
ADD_EXECUTABLE(branch_patcher WIN32 ${SRC} branch_patcher.rc)
|
||||||
|
|
||||||
|
TARGET_LINK_LIBRARIES(branch_patcher ${PLATFORM_LINKFLAGS})
|
||||||
|
NL_DEFAULT_PROPS(branch_patcher "NeL, Tools, Misc: branch_patcher")
|
||||||
|
NL_ADD_RUNTIME_FLAGS(branch_patcher)
|
||||||
|
|
||||||
|
ADD_DEFINITIONS(${MFC_DEFINITIONS})
|
||||||
|
|
||||||
|
INSTALL(TARGETS branch_patcher RUNTIME DESTINATION bin COMPONENT toolsmisc)
|
11
code/nel/tools/misc/data_mirror/CMakeLists.txt
Normal file
11
code/nel/tools/misc/data_mirror/CMakeLists.txt
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
FILE(GLOB SRC *.cpp *.h)
|
||||||
|
|
||||||
|
ADD_EXECUTABLE(data_mirror WIN32 ${SRC} data_mirror.rc)
|
||||||
|
|
||||||
|
TARGET_LINK_LIBRARIES(data_mirror ${PLATFORM_LINKFLAGS} nelmisc)
|
||||||
|
NL_DEFAULT_PROPS(data_mirror "NeL, Tools, Misc: data_mirror")
|
||||||
|
NL_ADD_RUNTIME_FLAGS(data_mirror)
|
||||||
|
|
||||||
|
ADD_DEFINITIONS(${MFC_DEFINITIONS})
|
||||||
|
|
||||||
|
INSTALL(TARGETS data_mirror RUNTIME DESTINATION bin COMPONENT toolsmisc)
|
9
code/nel/tools/misc/exec_timeout/CMakeLists.txt
Normal file
9
code/nel/tools/misc/exec_timeout/CMakeLists.txt
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
FILE(GLOB SRC *.cpp *.h)
|
||||||
|
|
||||||
|
ADD_EXECUTABLE(exec_timeout ${SRC})
|
||||||
|
|
||||||
|
TARGET_LINK_LIBRARIES(exec_timeout ${PLATFORM_LINKFLAGS} nelmisc)
|
||||||
|
NL_DEFAULT_PROPS(exec_timeout "NeL, Tools, Misc: exec_timeout")
|
||||||
|
NL_ADD_RUNTIME_FLAGS(exec_timeout)
|
||||||
|
|
||||||
|
INSTALL(TARGETS exec_timeout RUNTIME DESTINATION bin COMPONENT toolsmisc)
|
9
code/nel/tools/misc/extract_filename/CMakeLists.txt
Normal file
9
code/nel/tools/misc/extract_filename/CMakeLists.txt
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
FILE(GLOB SRC *.cpp *.h)
|
||||||
|
|
||||||
|
ADD_EXECUTABLE(extract_filename ${SRC})
|
||||||
|
|
||||||
|
TARGET_LINK_LIBRARIES(extract_filename ${PLATFORM_LINKFLAGS} nelmisc)
|
||||||
|
NL_DEFAULT_PROPS(extract_filename "NeL, Tools, Misc: extract_filename")
|
||||||
|
NL_ADD_RUNTIME_FLAGS(extract_filename)
|
||||||
|
|
||||||
|
INSTALL(TARGETS extract_filename RUNTIME DESTINATION bin COMPONENT toolsmisc)
|
9
code/nel/tools/misc/lock/CMakeLists.txt
Normal file
9
code/nel/tools/misc/lock/CMakeLists.txt
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
FILE(GLOB SRC *.cpp *.h)
|
||||||
|
|
||||||
|
ADD_EXECUTABLE(lock ${SRC})
|
||||||
|
|
||||||
|
TARGET_LINK_LIBRARIES(lock ${PLATFORM_LINKFLAGS} nelmisc)
|
||||||
|
NL_DEFAULT_PROPS(lock "NeL, Tools, Misc: lock")
|
||||||
|
NL_ADD_RUNTIME_FLAGS(lock)
|
||||||
|
|
||||||
|
INSTALL(TARGETS lock RUNTIME DESTINATION bin COMPONENT toolsmisc)
|
11
code/nel/tools/misc/log_analyser/CMakeLists.txt
Normal file
11
code/nel/tools/misc/log_analyser/CMakeLists.txt
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
FILE(GLOB SRC *.cpp *.h)
|
||||||
|
|
||||||
|
ADD_EXECUTABLE(log_analyser WIN32 ${SRC} log_analyser.rc)
|
||||||
|
|
||||||
|
TARGET_LINK_LIBRARIES(log_analyser ${PLATFORM_LINKFLAGS} nelmisc)
|
||||||
|
NL_DEFAULT_PROPS(log_analyser "NeL, Tools, Misc: log_analyser")
|
||||||
|
NL_ADD_RUNTIME_FLAGS(log_analyser)
|
||||||
|
|
||||||
|
ADD_DEFINITIONS(${MFC_DEFINITIONS})
|
||||||
|
|
||||||
|
INSTALL(TARGETS log_analyser RUNTIME DESTINATION bin COMPONENT toolsmisc)
|
1
code/nel/tools/misc/log_analyser_plug_ins/CMakeLists.txt
Normal file
1
code/nel/tools/misc/log_analyser_plug_ins/CMakeLists.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
SUBDIRS(extract_warnings)
|
|
@ -0,0 +1,11 @@
|
||||||
|
FILE(GLOB SRC *.cpp *.h ${CMAKE_SOURCE_DIR}/nelns/admin_executor_service/log_report.cpp)
|
||||||
|
|
||||||
|
ADD_LIBRARY(extract_warnings MODULE ${SRC} extract_warnings.def)
|
||||||
|
|
||||||
|
TARGET_LINK_LIBRARIES(extract_warnings ${PLATFORM_LINKFLAGS} nelmisc)
|
||||||
|
NL_DEFAULT_PROPS(extract_warnings "NeL, Tools, Misc: extract_warnings")
|
||||||
|
NL_ADD_RUNTIME_FLAGS(extract_warnings)
|
||||||
|
|
||||||
|
NL_ADD_LIB_SUFFIX(extract_warnings)
|
||||||
|
|
||||||
|
INSTALL(TARGETS extract_warnings RUNTIME DESTINATION bin LIBRARY DESTINATION lib/log_analyser COMPONENT toolsmisc)
|
9
code/nel/tools/misc/message_box/CMakeLists.txt
Normal file
9
code/nel/tools/misc/message_box/CMakeLists.txt
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
FILE(GLOB SRC *.cpp *.h)
|
||||||
|
|
||||||
|
ADD_EXECUTABLE(message_box WIN32 ${SRC})
|
||||||
|
|
||||||
|
TARGET_LINK_LIBRARIES(message_box ${PLATFORM_LINKFLAGS})
|
||||||
|
NL_DEFAULT_PROPS(message_box "NeL, Tools, Misc: message_box")
|
||||||
|
NL_ADD_RUNTIME_FLAGS(message_box)
|
||||||
|
|
||||||
|
INSTALL(TARGETS message_box RUNTIME DESTINATION bin COMPONENT toolsmisc)
|
9
code/nel/tools/misc/multi_cd_setup_fix/CMakeLists.txt
Normal file
9
code/nel/tools/misc/multi_cd_setup_fix/CMakeLists.txt
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
FILE(GLOB SRC *.cpp *.h)
|
||||||
|
|
||||||
|
ADD_EXECUTABLE(multi_cd_setup_fix WIN32 ${SRC} multi_cd_setup_fix.rc)
|
||||||
|
|
||||||
|
TARGET_LINK_LIBRARIES(multi_cd_setup_fix ${PLATFORM_LINKFLAGS})
|
||||||
|
NL_DEFAULT_PROPS(multi_cd_setup_fix "NeL, Tools, Misc: multi_cd_setup_fix")
|
||||||
|
NL_ADD_RUNTIME_FLAGS(multi_cd_setup_fix)
|
||||||
|
|
||||||
|
INSTALL(TARGETS multi_cd_setup_fix RUNTIME DESTINATION bin COMPONENT toolsmisc)
|
15
code/nel/tools/misc/words_dic/CMakeLists.txt
Normal file
15
code/nel/tools/misc/words_dic/CMakeLists.txt
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
FILE(GLOB SRC *.cpp *.h)
|
||||||
|
|
||||||
|
ADD_EXECUTABLE(words_dic WIN32 ${SRC} words_dic.rc)
|
||||||
|
|
||||||
|
TARGET_LINK_LIBRARIES(words_dic ${PLATFORM_LINKFLAGS} nelmisc)
|
||||||
|
NL_DEFAULT_PROPS(words_dic "NeL, Tools, Misc: words_dic")
|
||||||
|
NL_ADD_RUNTIME_FLAGS(words_dic)
|
||||||
|
|
||||||
|
ADD_DEFINITIONS(${MFC_DEFINITIONS})
|
||||||
|
|
||||||
|
IF(WITH_PCH)
|
||||||
|
ADD_NATIVE_PRECOMPILED_HEADER(words_dic ${CMAKE_CURRENT_SOURCE_DIR}/StdAfx.h ${CMAKE_CURRENT_SOURCE_DIR}/StdAfx.cpp)
|
||||||
|
ENDIF(WITH_PCH)
|
||||||
|
|
||||||
|
INSTALL(TARGETS words_dic RUNTIME DESTINATION bin COMPONENT toolsmisc)
|
Loading…
Reference in a new issue