tests/CMakeLists.txt


Log

Author Commit Date CI Message
Ralf Habacker 2821345e 2020-11-02T13:06:55 cmake: add option ENABLE_WINE to enable support for running cross compiled tests with wine For details about the ENABLE_WINE option, which support three modes AUTO|ON|OFF see the documentation of cmake macro check_auto_option(). A custom path for the wine executable can be specified by adding -DWINE_EXECUTABLE=<path> to the cmake command line. The cmake related macros were copied from https://gitlab.freedesktop.org/dbus/dbus/-/blob/master/cmake/modules/Macros.cmake
Ralf Habacker 53b1d71a 2020-11-03T10:45:36 cmake: separate targets in tests subdir for reasier reading
Ralf Habacker 3292a137 2020-11-02T12:50:41 cmake: Let make target 'test' be accessable from topmost build directory The cmake command enable_testing() must be placed in the topmost CMakeLists.txt so that the make target 'test' is available in the topmost build directory.
Ralf Habacker 11c80b8e 2020-11-02T12:37:36 cmake: place all generated binaries into one place This is required for running test applications, because by default cmake places binaries into the associated subdir.
Ralf Habacker f0ac8495 2020-08-25T23:34:19 Move cmake targets into sub directories