From 964abd0dca490ba90dd6ba0748d032892802c777 Mon Sep 17 00:00:00 2001 From: abn Date: Wed, 13 Jul 2016 16:23:27 +0200 Subject: [PATCH] CMake: Avoid .cxx file GLOBing, this is too dangerous. --- src/MEDCalc/gui/CMakeLists.txt | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/MEDCalc/gui/CMakeLists.txt b/src/MEDCalc/gui/CMakeLists.txt index b51c1432b..a9aa47e16 100644 --- a/src/MEDCalc/gui/CMakeLists.txt +++ b/src/MEDCalc/gui/CMakeLists.txt @@ -24,7 +24,17 @@ INCLUDE(UseQtExt) ADD_SUBDIRECTORY(dialogs) -FILE(GLOB MEDCALCGUI_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/*.cxx") +SET(MEDCALCGUI_SOURCES + DatasourceController.cxx + factory.cxx + MEDEventListener_i.cxx + MEDModule.cxx + PresentationController.cxx + ProcessingController.cxx + WorkspaceController.cxx + XmedConsoleDriver.cxx + XmedDataModel.cxx +) SET(MEDCALCGUI_HEADERS MEDModule.hxx -- 2.39.2