aboutsummaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2020-02-19 20:05:19 +0100
committerDaniel Mensinger <daniel@mensinger-ka.de>2020-02-20 11:16:37 +0100
commit113ec96626fe7cd2edc0bc4815ae2fc21cfb0546 (patch)
treec793ed45ea352e1f4ceb9ef279f6f96ab64e526c /setup.py
parent31eb41ec2fd2c7ed06406fb4e5ea87af5010d4e5 (diff)
downloadmeson-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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index b816b80..1f95be7 100644
--- a/setup.py
+++ b/setup.py
@@ -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':