Commit Graph

18 Commits

Author SHA1 Message Date
Dariqq 29451d61b5 cmake: Add option for UNITY_SUPPORT64 2026-01-20 18:13:32 +00:00
nfarid b35f6b0851 Add CMAKE_INSTALL_INCLUDEDIR to INSTALL_INTERFACE's include directory
This allows one to #include <unity/unity.h>
2023-05-30 11:40:39 +01:00
Mark VanderVoord 8ba0138600 Merge pull request #544 from farrrb/bugfix/fix-issue-510
Bugfix/fix issue 510
2021-12-03 10:58:29 -05:00
Andres O. Vela f98e2c868f Fix typo in CMakeLists.txt 2021-09-20 10:49:08 +02:00
Fabian Zahn 4cfb39290a Refactor generator expressions for CMake 2021-02-27 11:14:43 +01:00
Fabian Zahn 7edf9d9ac5 Fix #510 (-Wextra-semi-stmt with clang compiler) 2021-02-27 08:53:53 +01:00
Carson Holloway 53e1449f89 Fixed CMake install when compiled with extensions
This is a fix from the change I made in
`commit 418c1635f2f1bcd353b6fce23a16594c914047b8`
where I added options to compile unity with the `fixture` and `memory`
extensions:

In that version, Unity had been able to build, but there were some issues when
trying to install it. Namely, the CMake generator expressions were not
evaluated correctly, and it would try to install with a path that had
un-expanded generator commands in it, which would obviously fail and throw an
error. I've got a feeling that this is a bug with CMake, but for now the
workaround that worked in [this stackoverflow
post](https://stackoverflow.com/questions/51541678/nested-cmake-generator-expressions-are-only-partially-evaluated)
seemed to work here, as well.

Another issue with that commit was that it tried to include a
`unity_memory_internals.h` file, which did not exist. This has also been
resolved.
2021-01-08 10:34:38 +10:00
Carson Holloway 418c1635f2 Added option to compile fixture and memory extensions in CMakeLists.txt 2020-12-20 12:58:11 +11:00
Carson Holloway 6fecc8eb38 Added MSVC options to CMakeLists.txt. 2020-07-18 21:58:54 +10:00
Vitalii Shylienkov a2af08c773 project: revert UNITY_VERSION_* to unity.h 2020-04-14 11:02:24 +02:00
Vitalii Shylienkov b397a72e89 cmake: get version from meson 2020-04-13 13:08:18 +02:00
Vitalii Shylienkov d603ccdc3b cmake: update CMake 2020-04-09 13:58:45 +02:00
Aurelien Labrosse b75b19c969 CMakeLists fixes 2019-10-26 18:31:57 +02:00
richardhob 53916f823c Update CMakeLists.txt
Update the CMAKE minimum version from `3` to `3.0` to fix error in Windows 10 x64 with CMAKE 3.15.4:

cmake_minimum_required could not parse VERSION "3".
2019-10-02 11:38:48 -07:00
Michael Brockus e6f38c2792 Update CMakeLists.txt
Moved the add library method into sub dir.  Also made this CMakeLists.txt script compatible for versions os CMake starting from 3.x and up.
2019-09-17 12:14:47 -07:00
Michael Brockus af4c20fa20 Updating CMakeLists.txt. 2019-07-03 21:04:07 -07:00
Michael Brockus 3e4d064c42 Singing my name on the script. 2019-02-19 09:45:50 -08:00
Michael Brockus 9dc7cb1b5c Adding CMake script to unity test framework. 2019-02-18 12:35:53 -08:00