List .cpp files for cmake instead of globbing them.
This commit is contained in:
parent
d7413b7708
commit
440aa74dcf
|
@ -13,7 +13,12 @@
|
|||
# You should have received a copy of the GNU General Public License
|
||||
# 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})
|
||||
|
||||
|
|
|
@ -25,7 +25,12 @@ endif (LIBPARTED_FS_RESIZE_LIBRARY_SUPPORT)
|
|||
|
||||
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})
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#if !defined(CAPACITY__H)
|
||||
|
||||
#define CAPACITY__H
|
||||
#include "../util/libpartitionmanagerexport.h"
|
||||
#include "util/libpartitionmanagerexport.h"
|
||||
|
||||
class Partition;
|
||||
class Device;
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
#define EXTERNALCOMMAND__H
|
||||
|
||||
#include "../util/libpartitionmanagerexport.h"
|
||||
#include "util/libpartitionmanagerexport.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
#define GLOBALLOG__H
|
||||
|
||||
#include "../util/libpartitionmanagerexport.h"
|
||||
#include "util/libpartitionmanagerexport.h"
|
||||
|
||||
#include <QString>
|
||||
#include <QObject>
|
||||
|
|
|
@ -18,8 +18,8 @@
|
|||
|
||||
#include "util/htmlreport.h"
|
||||
|
||||
#include "../backend/corebackend.h"
|
||||
#include "../backend/corebackendmanager.h"
|
||||
#include "backend/corebackend.h"
|
||||
#include "backend/corebackendmanager.h"
|
||||
|
||||
#include <QApplication>
|
||||
#include <QDateTime>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
#define HTMLREPORT__H
|
||||
|
||||
#include "../util/libpartitionmanagerexport.h"
|
||||
#include "util/libpartitionmanagerexport.h"
|
||||
|
||||
class QString;
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
#define REPORT__H
|
||||
|
||||
#include "../util/libpartitionmanagerexport.h"
|
||||
#include "util/libpartitionmanagerexport.h"
|
||||
|
||||
#include <QObject>
|
||||
#include <QList>
|
||||
|
|
Loading…
Reference in New Issue