Commit 022ba0cd authored by Jan Möbius's avatar Jan Möbius

Removed Glob from CoreApp

parent 651af095
......@@ -33,46 +33,156 @@ if( APPLE )
)
endif(APPLE)
if (WIN32)
SET(WIN_EXTRA_DIRS "../StackWalker" )
else(WIN32)
SET(WIN_EXTRA_DIRS "")
# collect all header,source and ui files
set (headers
../Core/Core.hh
../Core/OpenFunctionThread.hh
../Core/PluginInfo.hh
../Core/SpinBoxEventFilter.hh
../Logging/PluginLogging.hh
../Scripting/ScriptingWrapper.hh
../Scripting/scriptPrototypes/prototypeDataType.hh
../Scripting/scriptPrototypes/prototypeIdList.hh
../Scripting/scriptPrototypes/prototypeMatrix4x4.hh
../Scripting/scriptPrototypes/prototypeVec3d.hh
../Scripting/scriptPrototypes/prototypeVec4d.hh
../Scripting/scriptWrappers/DataTypeWrapper.hh
../Scripting/scriptWrappers/idListWrapper.hh
../Scripting/scriptWrappers/matrix4x4Wrapper.hh
../Scripting/scriptWrappers/vec3dWrapper.hh
../Scripting/scriptWrappers/vec4dWrapper.hh
../widgets/aboutWidget/aboutWidget.hh
../widgets/addEmptyWidget/addEmptyWidget.hh
../widgets/loggerWidget/loggerWidget.hh
../widgets/coreWidget/ColorStatusBar.hh
../widgets/coreWidget/CoreWidget.hh
../widgets/coreWidget/SideArea.hh
../widgets/coreWidget/SideElement.hh
../widgets/helpWidget/helpBrowser.hh
../widgets/helpWidget/helpWidget.hh
../widgets/processManagerWidget/BlockingWidget.hh
../widgets/processManagerWidget/processManagerWidget.hh
../widgets/loadWidget/FileOptionsDialog.hh
../widgets/loadWidget/loadWidget.hh
../widgets/optionsWidget/ShortcutButton.hh
../widgets/optionsWidget/optionsWidget.hh
../widgets/PluginDialog/PluginDialog.hh
../widgets/viewModeWidget/viewModeChangeWidget.hh
../widgets/viewModeWidget/viewModeWidget.hh
../widgets/videoCaptureDialog/VideoCaptureDialog.hh
../widgets/snapshotDialog/SnapshotDialog.hh
../widgets/stereoSettingsWidget/stereoSettingsWidget.hh
../widgets/postProcessorWidget/postProcessorWidget.hh
../widgets/rendererWidget/TextBrowserWidget.hh
../widgets/rendererWidget/renderObjectHighLighter.hh
../widgets/rendererWidget/rendererObjectWidget.hh
../widgets/rendererWidget/rendererWidget.hh
../widgets/pythonWidget/PythonSyntaxHighlighter.hh
../widgets/pythonWidget/pythonWidget.hh
../PythonInterpreter/PythonInterpreter.hh
../PythonInterpreter/PythonTypeConversions.hh
)
if (WIN32)
LIST(APPEND sources "../StackWalker/StackWalker.cc")
endif(WIN32)
# source code directories
set (directories
..
../Core
../Logging
../Scripting
../Scripting/scriptPrototypes
../Scripting/scriptWrappers
../widgets/aboutWidget
../widgets/addEmptyWidget
../widgets/loggerWidget
../widgets/coreWidget
../widgets/helpWidget
../widgets/processManagerWidget
../widgets/loadWidget
../widgets/optionsWidget
../widgets/PluginDialog
../widgets/viewModeWidget
../widgets/videoCaptureDialog
../widgets/snapshotDialog
../widgets/stereoSettingsWidget
../widgets/postProcessorWidget
../widgets/pythonWidget
../widgets/rendererWidget
${WIN_EXTRA_DIRS}
set( sources
../OpenFlipper.cc
../Core/BackupCommunication.cc
../Core/Core.cc
../Core/Logging.cc
../Core/OpenFunctionThread.cc
../Core/ParseIni.cc
../Core/ParseObj.cc
../Core/PluginCommunication.cc
../Core/PluginLoader.cc
../Core/RPC.cc
../Core/SelectionCommunication.cc
../Core/SpinBoxEventFilter.cc
../Core/Video.cc
../Core/openFunctions.cc
../Core/optionHandling.cc
../Core/process.cc
../Core/saveFunctions.cc
../Core/saveSettings.cc
../Core/scripting.cc
../Logging/PluginLogging.cc
../Scripting/ScriptingWrapper.cc
../Scripting/scriptPrototypes/prototypeDataType.cc
../Scripting/scriptPrototypes/prototypeIdList.cc
../Scripting/scriptPrototypes/prototypeMatrix4x4.cc
../Scripting/scriptPrototypes/prototypeVec3d.cc
../Scripting/scriptPrototypes/prototypeVec4d.cc
../Scripting/scriptWrappers/DataTypeWrapper.cc
../Scripting/scriptWrappers/idListWrapper.cc
../Scripting/scriptWrappers/matrix4x4Wrapper.cc
../Scripting/scriptWrappers/vec3dWrapper.cc
../Scripting/scriptWrappers/vec4dWrapper.cc
../widgets/aboutWidget/aboutWidget.cc
../widgets/addEmptyWidget/addEmptyWidget.cc
../widgets/loggerWidget/loggerWidget.cc
../widgets/coreWidget/About.cc
../widgets/coreWidget/ColorStatusBar.cc
../widgets/coreWidget/ContextMenu.cc
../widgets/coreWidget/CoreLicenseInfos.cc
../widgets/coreWidget/CoreWidget.cc
../widgets/coreWidget/CoreWidgetLogging.cc
../widgets/coreWidget/CoreWidgetToolbar.cc
../widgets/coreWidget/Help.cc
../widgets/coreWidget/LoggerHandling.cc
../widgets/coreWidget/MenuBar.cc
../widgets/coreWidget/Python.cc
../widgets/coreWidget/SideArea.cc
../widgets/coreWidget/SideElement.cc
../widgets/coreWidget/StackWidget.cc
../widgets/coreWidget/StatusBar.cc
../widgets/coreWidget/dragAndDrop.cc
../widgets/coreWidget/keyHandling.cc
../widgets/coreWidget/picking.cc
../widgets/coreWidget/postProcessorDialog.cc
../widgets/coreWidget/rendererDialog.cc
../widgets/coreWidget/viewMode.cc
../widgets/coreWidget/viewerControl.cc
../widgets/helpWidget/helpBrowser.cc
../widgets/helpWidget/helpWidget.cc
../widgets/processManagerWidget/BlockingWidget.cc
../widgets/processManagerWidget/processManagerWidget.cc
../widgets/loadWidget/FileOptionsDialog.cc
../widgets/loadWidget/loadWidget.cc
../widgets/optionsWidget/ShortcutButton.cc
../widgets/optionsWidget/downloader.cc
../widgets/optionsWidget/keyBindings.cc
../widgets/optionsWidget/optionsWidget.cc
../widgets/PluginDialog/PluginDialog.cc
../widgets/viewModeWidget/viewModeChangeWidget.cc
../widgets/viewModeWidget/viewModeWidget.cc
../widgets/videoCaptureDialog/VideoCaptureDialog.cc
../widgets/snapshotDialog/SnapshotDialog.cc
../widgets/stereoSettingsWidget/stereoSettingsWidget.cc
../widgets/postProcessorWidget/postProcessorWidget.cc
../widgets/pythonWidget/PythonSyntaxHighlighter.cc
../widgets/pythonWidget/pythonWidget.cc
../widgets/rendererWidget/TextBrowserWidget.cc
../widgets/rendererWidget/renderObjectHighLighter.cc
../widgets/rendererWidget/rendererObjectWidget.cc
../widgets/rendererWidget/rendererWidget.cc
)
if ( PYTHON3_FOUND)
include_directories (
${Python3_INCLUDE_DIRS}
)
list(APPEND directories "../PythonInterpreter")
list(APPEND headers
../PythonInterpreter/PythonInterpreter.hh
../PythonInterpreter/PythonTypeConversions.hh
)
list(APPEND sources
../PythonInterpreter/PythonInterpreter.cc
)
link_directories(${Python3_LIBRARY_DIRS})
add_definitions(-DPYTHON_ENABLED )
......@@ -81,13 +191,23 @@ if ( PYTHON3_FOUND)
endif()
# collect all header,source and ui files
acg_append_files (headers "*.hh" ${directories})
acg_append_files (sources "*.cc" ${directories})
acg_append_files (ui-files "*.ui" ${directories})
# remove template cc files from source file list
acg_drop_templates (sources)
set( uifiles
../widgets/aboutWidget/aboutWidget.ui
../widgets/addEmptyWidget/addEmpty.ui
../widgets/helpWidget/helpWidget.ui
../widgets/processManagerWidget/processManagerWidget.ui
../widgets/optionsWidget/optionsWidget.ui
../widgets/PluginDialog/pluginDialog.ui
../widgets/viewModeWidget/viewMode.ui
../widgets/viewModeWidget/viewModeChange.ui
../widgets/videoCaptureDialog/VideoCaptureDialog.ui
../widgets/snapshotDialog/SnapshotDialog.ui
../widgets/stereoSettingsWidget/stereoSettingsWidget.ui
../widgets/postProcessorWidget/postProcessorWidget.ui
../widgets/pythonWidget/pythonWidget.ui
../widgets/rendererWidget/rendererObjectWidget.ui
../widgets/rendererWidget/rendererWidget.ui
)
set(RC_SRC "")
......@@ -116,7 +236,7 @@ file(APPEND "${CMAKE_CURRENT_BINARY_DIR}/static_plugins.cc" ";\n} /* namespace c
list(APPEND RC_SRC "${CMAKE_CURRENT_BINARY_DIR}/static_plugins.cc")
source_group(TREE ${CMAKE_SOURCE_DIR} FILES ${sources} ${headers} ${ui-files} )
source_group(TREE ${CMAKE_SOURCE_DIR} FILES ${sources} ${headers} ${uifiles} )
if (WIN32)
# add app icon rc file to windows build
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment