diff options
author | Ivan Komissarov <ABBAPOH@gmail.com> | 2020-08-13 00:45:36 +0200 |
---|---|---|
committer | Ivan Komissarov <ABBAPOH@gmail.com> | 2020-08-17 17:09:39 +0000 |
commit | b67b08f1c2c26a226db6f43f2452026f85ad6460 (patch) | |
tree | e8aa41c51e6247919d531d9cd35737c98a360ff9 /tests/benchmarker | |
parent | 2311a8224c3fc7141c44cc517f4ecdb882cd09f8 (diff) |
Initial CMake port
This change allows to build Qbs using CMake build tool
Tested platforms
- Linux (gcc)
- macOS (clang)
- Windows (msvc2017)
Missing features (compared to Qbs build)
- Documentation build
- Bundled QtScript support
- Static build
- .pc file for qbscore
- qbs module for qbscore
Change-Id: I09b5dadd6723d5a47e5ef2a9a38d3300488718f2
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'tests/benchmarker')
-rw-r--r-- | tests/benchmarker/CMakeLists.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/benchmarker/CMakeLists.txt b/tests/benchmarker/CMakeLists.txt new file mode 100644 index 000000000..d77d6d9c4 --- /dev/null +++ b/tests/benchmarker/CMakeLists.txt @@ -0,0 +1,18 @@ +set(SOURCES + activities.h + benchmarker-main.cpp + benchmarker.cpp + benchmarker.h + commandlineparser.cpp + commandlineparser.h + exception.h + runsupport.cpp + runsupport.h + valgrindrunner.cpp + valgrindrunner.h + ) + +add_qbs_app(qbs_benchmarker + DEPENDS Qt5::Core Qt5::Concurrent + SOURCES ${SOURCES} + ) |