2019-10-01 13:44:06 +02:00
|
|
|
calamares_add_plugin( machineid
|
|
|
|
TYPE job
|
|
|
|
EXPORT_MACRO PLUGINDLLEXPORT_PRO
|
|
|
|
SOURCES
|
|
|
|
MachineIdJob.cpp
|
2019-10-03 12:32:47 +02:00
|
|
|
Workers.cpp
|
2019-10-01 13:44:06 +02:00
|
|
|
LINK_PRIVATE_LIBRARIES
|
|
|
|
calamares
|
|
|
|
SHARED_LIB
|
|
|
|
)
|
2019-10-03 13:32:48 +02:00
|
|
|
|
|
|
|
if ( ECM_FOUND AND BUILD_TESTING )
|
|
|
|
ecm_add_test(
|
|
|
|
Tests.cpp
|
|
|
|
Workers.cpp
|
|
|
|
TEST_NAME
|
|
|
|
machineidtest
|
|
|
|
LINK_LIBRARIES
|
|
|
|
calamares
|
|
|
|
Qt5::Core
|
|
|
|
Qt5::Test
|
|
|
|
)
|
|
|
|
calamares_automoc( machineidtest )
|
|
|
|
endif()
|