aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/cmake
AgeCommit message (Collapse)AuthorFilesLines
2019-11-20cmake: add_custom_command fix empty and quoted parametersDaniel Mensinger2-0/+3
2019-11-20cmake: Fix confilcting custom targetsDaniel Mensinger1-8/+28
2019-11-20cmake: Uniform target name handlingDaniel Mensinger1-40/+67
2019-11-19ci: Add CI command to include text files in the CI logDaniel Mensinger1-0/+2
2019-11-19cmake: Handle CMake system include dirs (closes #6079)Daniel Mensinger3-8/+16
2019-11-12cmake: Log warnings in CMakeLists.txtDaniel Mensinger1-4/+39
Previously, warnings genereated in CMake were not logged because CMake sends them to stderr alongside the trace information. With this PR, only real trace lines are send to the trace parser and all other lines in stderr are logged as warnings.
2019-11-06Fix typos found by codespellWolfgang Stöggl4-12/+12
- Typos were found by codespell v1.16.0
2019-10-20Merge pull request #6074 from mensinda/cmFileAPIJussi Pakkanen6-157/+524
cmake: Add CMake file API support
2019-10-20cmake: Blacklist more compiler warning flagsDaniel Mensinger1-1/+2
2019-10-20cmake: Do not add imported targetsDaniel Mensinger2-9/+11
2019-10-20cmake: Add CMake file API supportDaniel Mensinger2-5/+366
The file API will automatically be used when CMake >= 3.14 is detected. This new API is meant as a replacement for the now deprecated CMake server API. The new API (mostly) provides the same information in a different format. Thus only a slight bit of refactoring was necessary to implement this new backend
2019-10-20cmake: Comment out unused variablesDaniel Mensinger1-4/+4
2019-10-20cmake: Move CMake API classes to commonDaniel Mensinger4-144/+148
2019-10-10cmake: Blacklist MS debug flags (fixes #6021)Daniel Mensinger1-1/+2
2019-10-03Revert "cmake: postprocess libraries names with so version"Daniel Mensinger1-7/+2
This reverts commit 73f006149823a498f88e0131f963a0ff81043788.
2019-10-03cmake: fix detection of libraries with .so versionDaniel Mensinger1-4/+20
2019-10-01cmake: Add support for normal librariesXavier Claessens1-1/+3
Without this, set_target_properties() on those libraries won't be catched, for example when setting the SOVERSION.
2019-10-01cmake: Fix 'properies' typoXavier Claessens2-17/+17
2019-10-01cmake: COMMAND could have ';' separated argumentsXavier Claessens1-1/+1
2019-10-01cmake: postprocess libraries names with so versionXavier Claessens1-2/+7
2019-10-01cmake: Generate declare_dependency() only for librariesXavier Claessens1-9/+9
2019-09-26cmake: Support ALIAS librariesDaniel Mensinger1-1/+10
2019-08-23correct logic for too old cmakeMichael Hirsch, Ph.D1-1/+1
2019-08-17avoid cmake syntax error due to "\" path separators on windowsNorbert Nemec1-0/+6
2019-07-31cmake: Parse a subset of generator expressionsDaniel Mensinger3-3/+135
2019-07-25cmake: handle interface librariesDaniel Mensinger1-7/+37
2019-07-25cmake: trace: add support for some target_* functionsDaniel Mensinger1-2/+66
2019-07-25cmake: trace: support interface librariesDaniel Mensinger1-7/+14
2019-07-25cmake: trace: set_target_properties improved property detectionDaniel Mensinger1-3/+4
2019-07-11cmake: Fix dependencies with try_compile (closes #5605)Daniel Mensinger1-11/+52
2019-06-28cmake: Also detect Windows pathsDaniel Mensinger1-1/+1
2019-06-28cmake: Skip ARGS key in COMMANDDaniel Mensinger1-0/+2
2019-06-28cmake: Added support for custom_target generationDaniel Mensinger1-25/+279
2019-06-28cmake: Added custom target wrapper scriptDaniel Mensinger1-0/+59
2019-06-28cmake: Parse trace when configuring CMakeDaniel Mensinger1-9/+26
2019-06-28cmake: added suport for add_custom_command in the trace parserDaniel Mensinger1-2/+101
2019-06-28cmake: Added permissive support to the trace parserDaniel Mensinger1-11/+26
2019-06-12cmake: Move parsing the CMake trace into the CMake moduleDaniel Mensinger2-0/+321
2019-06-12cmake: Moved finding and running CMake out of dependencyDaniel Mensinger4-16/+229
2019-06-09Purge `is_cross` and friends without changing user interfacesJohn Ericson2-4/+7
In most cases instead pass `for_machine`, the name of the relevant machines (what compilers target, what targets run on, etc). This allows us to use the cross code path in the native case, deduplicating the code. As one can see, environment got bigger as more information is kept structured there, while ninjabackend got a smaller. Overall a few amount of lines were added, but the hope is what's added is a lot simpler than what's removed.
2019-06-09cmake: Minor fixes to handle some CMake specific behaviorDaniel Mensinger1-13/+25
Now, all source files are ignored that are not part of the language of the target. This is also what CMake does. Additionally it is now supported to build source files that are generated inside the build directory.
2019-06-06cmake: Fix cygwin failuresDaniel Mensinger1-1/+10
2019-06-06cmake: moved subprojects into the CMake moduleDaniel Mensinger1-3/+15
2019-06-06cmake: Make flake8 happyDaniel Mensinger2-18/+26
2019-06-06cmake: rebase fixesDaniel Mensinger1-2/+3
2019-06-06cmake: set the linker for clang-cl for CMakeDaniel Mensinger1-0/+2
2019-06-06cmake: blacklist some `cl` compiler and linker flagsDaniel Mensinger1-0/+40
2019-06-06cmake: general windows and old CMake fixesDaniel Mensinger2-10/+36
2019-06-06cmake: Some minor style changesDaniel Mensinger1-17/+23
2019-06-06cmake: Added option for additional CMake argsDaniel Mensinger1-4/+7