Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
Executable
+72
@@ -0,0 +1,72 @@
|
||||
#
|
||||
# $Id$
|
||||
# $HeadURL$
|
||||
# $Author$
|
||||
#
|
||||
|
||||
# Situation Map Test Application
|
||||
|
||||
FIND_PACKAGE(ArcGIS REQUIRED)
|
||||
|
||||
SET(EXE_SRCS
|
||||
main.cpp
|
||||
log4cxx_planEditorTest.props
|
||||
plan_editor_map_defaults.ini
|
||||
)
|
||||
|
||||
SET(EXE_HDRS
|
||||
)
|
||||
|
||||
SET(EXE_UICS
|
||||
)
|
||||
|
||||
NGL_WRAP_UI(EXE_SRCS ${EXE_UICS})
|
||||
|
||||
|
||||
SET(LOG4CXX_PROPS_FILE log4cxx_planEditorTest.props)
|
||||
|
||||
NGL_ADD_EXECUTABLE(WS planEditorTest ${EXE_SRCS} ${EXE_HDRS} ${EXE_UICS})
|
||||
NGL_TARGET_LINK_LIBRARIES(
|
||||
planEditorTest
|
||||
NGLLogger
|
||||
LtsSession
|
||||
LtsSessionData
|
||||
LtsWidgets
|
||||
nglapplication
|
||||
LtsPluginManager
|
||||
situationMap
|
||||
situationMapObjects
|
||||
situationMapFunctionDialog
|
||||
planEditor
|
||||
ArcGIS::ArcGIS
|
||||
LtsPluginLoader
|
||||
Qt5::Gui
|
||||
)
|
||||
|
||||
IF(TARGET planEditorTest)
|
||||
|
||||
OPTION(BUILD_PlanEditorCopyConfig "Copy LOG4 Props and PlanEditor ini file to bin directory." ON)
|
||||
|
||||
if(BUILD_PlanEditorCopyConfig)
|
||||
ADD_CUSTOM_COMMAND( TARGET planEditorTest POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND}
|
||||
ARGS -E copy_if_different ${CMAKE_CURRENT_SOURCE_DIR} $<TARGET_FILE_DIR:planEditorTest>/${LOG4CXX_PROPS_FILE}
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
SET(INI_FILE plan_editor_map_defaults.ini)
|
||||
ADD_CUSTOM_COMMAND( TARGET planEditorTest POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND}
|
||||
ARGS -E copy_if_different ${INI_FILE} $<TARGET_FILE_DIR:planEditorTest>/${INI_FILE}
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
ENDIF()
|
||||
ENDIF()
|
||||
|
||||
IF(MSVC)
|
||||
# Configure the template file
|
||||
SET(VS_USER_FILE planEditorTest.vcxproj.user)
|
||||
configure_file( ../PlanEditor.vcxproj.user.in ${CMAKE_CURRENT_BINARY_DIR}/${VS_USER_FILE} @ONLY)
|
||||
ENDIF(MSVC)
|
||||
|
||||
NGL_INSTALL_TARGET_DEVEL(planEditorTest)
|
||||
NGL_INSTALL(FILES WS ${LOG4CXX_PROPS_FILE} DESTINATION "bin" COMPONENT Devel)
|
||||
Reference in new issue
Block a user