X-Git-Url: https://vaikene.ee/gitweb/pswgen11.html?a=blobdiff_plain;f=src%2Flibs%2FCommon%2FCMakeLists.txt;h=83affd4f2c5130191a4136f76a948bd08efeeb64;hb=38c2779e95311f1d9dac4a9d9469b0489b395333;hp=085749e6fc61155ff96d440a52ef00a6356a103b;hpb=814d12e0a340ae11fa4a22077b37316aa41716d7;p=evaf
diff --git a/src/libs/Common/CMakeLists.txt b/src/libs/Common/CMakeLists.txt
index 085749e..83affd4 100644
--- a/src/libs/Common/CMakeLists.txt
+++ b/src/libs/Common/CMakeLists.txt
@@ -2,6 +2,7 @@
set(TARGET CommonLib)
# Qt modules
+set(QT_DONT_USE_QTGUI TRUE)
include(${QT_USE_FILE})
# Needed for exporting/importing symbols
@@ -16,33 +17,37 @@ set(eVaf_LIBRARIES)
# Source files
set(SRCS
app.cpp
- env.cpp
event.cpp
eventqueue.cpp
globals.cpp
logger.cpp
registry.cpp
util.cpp
+ inifile.cpp
+ config.cpp
+ prop.cpp
)
# Header files for the meta-object compiler
set(MOC_HDRS
iapp.h
- ienv.h
ieventqueue.h
ilogger.h
iregistry.h
+ iconfig.h
+ iprop.h
app.h
- env.h
eventqueue.h
logger.h
registry.h
+ config.h
+ prop.h
)
# Version info resource file for Windows builds
-if(WIN32)
+if(WIN32 AND NOT MINGW)
set(SRCS ${SRCS} version.rc)
-endif(WIN32)
+endif(WIN32 AND NOT MINGW)
qt4_wrap_cpp(MOC_SRCS ${MOC_HDRS})