diff options
author | Daniel Mensinger <daniel@mensinger-ka.de> | 2020-02-19 20:05:19 +0100 |
---|---|---|
committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2020-02-20 11:16:37 +0100 |
commit | 113ec96626fe7cd2edc0bc4815ae2fc21cfb0546 (patch) | |
tree | c793ed45ea352e1f4ceb9ef279f6f96ab64e526c /setup.py | |
parent | 31eb41ec2fd2c7ed06406fb4e5ea87af5010d4e5 (diff) | |
download | meson-113ec96626fe7cd2edc0bc4815ae2fc21cfb0546.zip meson-113ec96626fe7cd2edc0bc4815ae2fc21cfb0546.tar.gz meson-113ec96626fe7cd2edc0bc4815ae2fc21cfb0546.tar.bz2 |
cmake: Fix relative paths for add_custom_{command,target}
Do this by tracking CMAKE_CURRENT_{SOURCE,BINARY}_DIR variables.
This is achieved by injecting CMake code with CMAKE_PROJECT_INCLUDE
and overriding some builtin functions with a wrapper that adds
additional trace information.
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -39,7 +39,7 @@ packages = ['mesonbuild', 'mesonbuild.wrap'] package_data = { 'mesonbuild.dependencies': ['data/CMakeLists.txt', 'data/CMakeListsLLVM.txt', 'data/CMakePathInfo.txt'], - 'mesonbuild.cmake': ['data/run_ctgt.py'], + 'mesonbuild.cmake': ['data/run_ctgt.py', 'data/preload.cmake'], } data_files = [] if sys.platform != 'win32': |