X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=gui%2FCMakeLists.txt;h=8968cb4852f2c52eff7e328f7f822b59941864fa;hb=25e918f484586620d3e718d92aa4d338a1e3c9bd;hp=f464cb0798acf39a5006e0cddbf2b3680c6ebbea;hpb=48412ffde3dd4710c96d5e8d9cfdf1789e4d703a;p=apitrace diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt index f464cb0..8968cb4 100644 --- a/gui/CMakeLists.txt +++ b/gui/CMakeLists.txt @@ -14,6 +14,8 @@ set(qapitrace_SRCS jumpwidget.cpp mainwindow.cpp main.cpp + profiledialog.cpp + profiletablemodel.cpp retracer.cpp saverthread.cpp searchwidget.cpp @@ -22,7 +24,16 @@ set(qapitrace_SRCS tracedialog.cpp traceloader.cpp traceprocess.cpp + trimprocess.cpp vertexdatainterpreter.cpp + graphing/frameaxiswidget.cpp + graphing/graphwidget.cpp + graphing/graphaxiswidget.cpp + graphing/graphview.cpp + graphing/heatmapview.cpp + graphing/heatmapverticalaxiswidget.cpp + graphing/histogramview.cpp + graphing/timeaxiswidget.cpp ) qt4_automoc(${qapitrace_SRCS}) @@ -34,6 +45,8 @@ set(qapitrace_UIS ui/imageviewer.ui ui/jumpwidget.ui ui/mainwindow.ui + ui/profiledialog.ui + ui/profilereplaydialog.ui ui/retracerdialog.ui ui/settings.ui ui/tracedialog.ui @@ -49,7 +62,19 @@ include_directories(${QT_INCLUDES} ${QJSON_INCLUDE_DIR} ${CMAKE_CURRENT_BINARY_D add_executable(qapitrace ${qapitrace_SRCS} ${qapitrace_UIS_H}) -target_link_libraries(qapitrace common ${QJSON_LIBRARIES} ${QT_LIBRARIES} ) +target_link_libraries (qapitrace + common + ${PNG_LIBRARIES} + ${ZLIB_LIBRARIES} + ${SNAPPY_LIBRARIES} + ${QJSON_LIBRARIES} + ${QT_LIBRARIES} +) + +# Recent builds of Qt no longer support i386 architecture +if (APPLE) + set_target_properties (qapitrace PROPERTIES OSX_ARCHITECTURES x86_64) +endif () ########### install files ###############