tests/CMakeLists.txt

Branch


Log

Author Commit Date CI Message
Mika Lindqvist d3ba592a 2020-08-28T17:16:36 Fix for Visual C++ (#157) * Fix tests failing when compiled with Visual C++.
Michał Górny 3a6954e0 2018-06-07T08:09:07 cmake: Always build libdecoder as static library libdecoder is used only for tests, and implicitly relies on printBinary() function that is not included in the library. This causes it to fail to build as a shared library on systems strict about symbols (Darwin or e.g. Linux with -Wl,-z,defs). Force static library to avoid those problems.
Michał Górny 860b8fec 2018-06-05T18:08:45 Fix running test_qrspec when building out-of-source It is a common practice for CMake builds (and less common but still valid for autotools) to build out-of-source, that is use a separate directory for built executables than for sources. However, when that is used, test_qrspec is unable to find "frame" and crashes. Fix it by passing the source directory as compile-time definition, and therefore making test_qrspec use the correct path.
Aleksey Nikolaev d295d266 2017-01-18T00:37:36 Libraries common and rscode
Aleksey Nikolaev b11c9395 2017-01-17T18:14:39 Threads::Threads dependencies for tests. The check that the current compiler could initialize the size of the fixed-size array from a variable.
Aleksey Nikolaev a4c9fda5 2017-01-16T14:00:32 Made imported target for ICONV. Organized the tests by dependencies.
Aleksey Nikolaev e87c3dc4 2017-01-13T19:47:36 Compiled with Ladislav Sopko fork. Added FindIconv.cmake
André Klitzing f0f0dd3f 2016-09-27T13:45:17 Fix cmake build and add support for tests