List .cpp files for cmake instead of globbing them.

This commit is contained in:
Andrius Štikonas 2016-05-04 22:14:38 +01:00
parent d7413b7708
commit 440aa74dcf
8 changed files with 19 additions and 9 deletions

View File

@ -13,7 +13,12 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
file (GLOB pmdummybackendplugin_SRCS *.cpp) set (pmdummybackendplugin_SRCS
dummybackend.cpp
dummydevice.cpp
dummypartition.cpp
dummypartitiontable.cpp
)
add_library(pmdummybackendplugin SHARED ${pmdummybackendplugin_SRCS}) add_library(pmdummybackendplugin SHARED ${pmdummybackendplugin_SRCS})

View File

@ -25,7 +25,12 @@ endif (LIBPARTED_FS_RESIZE_LIBRARY_SUPPORT)
include_directories(${LIBPARTED_INCLUDE_DIR}) include_directories(${LIBPARTED_INCLUDE_DIR})
file (GLOB pmlibpartedbackendplugin_SRCS *.cpp) set (pmlibpartedbackendplugin_SRCS
libpartedbackend.cpp
libparteddevice.cpp
libpartedpartition.cpp
libpartedpartitiontable.cpp
)
add_library(pmlibpartedbackendplugin SHARED ${pmlibpartedbackendplugin_SRCS}) add_library(pmlibpartedbackendplugin SHARED ${pmlibpartedbackendplugin_SRCS})

View File

@ -18,7 +18,7 @@
#if !defined(CAPACITY__H) #if !defined(CAPACITY__H)
#define CAPACITY__H #define CAPACITY__H
#include "../util/libpartitionmanagerexport.h" #include "util/libpartitionmanagerexport.h"
class Partition; class Partition;
class Device; class Device;

View File

@ -19,7 +19,7 @@
#define EXTERNALCOMMAND__H #define EXTERNALCOMMAND__H
#include "../util/libpartitionmanagerexport.h" #include "util/libpartitionmanagerexport.h"
#include <vector> #include <vector>

View File

@ -19,7 +19,7 @@
#define GLOBALLOG__H #define GLOBALLOG__H
#include "../util/libpartitionmanagerexport.h" #include "util/libpartitionmanagerexport.h"
#include <QString> #include <QString>
#include <QObject> #include <QObject>

View File

@ -18,8 +18,8 @@
#include "util/htmlreport.h" #include "util/htmlreport.h"
#include "../backend/corebackend.h" #include "backend/corebackend.h"
#include "../backend/corebackendmanager.h" #include "backend/corebackendmanager.h"
#include <QApplication> #include <QApplication>
#include <QDateTime> #include <QDateTime>

View File

@ -19,7 +19,7 @@
#define HTMLREPORT__H #define HTMLREPORT__H
#include "../util/libpartitionmanagerexport.h" #include "util/libpartitionmanagerexport.h"
class QString; class QString;

View File

@ -20,7 +20,7 @@
#define REPORT__H #define REPORT__H
#include "../util/libpartitionmanagerexport.h" #include "util/libpartitionmanagerexport.h"
#include <QObject> #include <QObject>
#include <QList> #include <QList>