Andrej730
aaf980b6b3
ifcwrap cmake - override _d interface suffix in debug builds ( d004410cc)
...
https://discourse.cmake.org/t/a-correct-way-to-add-d-debug-prefix-for-debug-python-extensions-on-windows/15132
2025-09-02 18:27:59 +05:00
Andrej730
d004410ccb
ifcwrap cmake - add _d debug postfix required on Windows
2025-08-29 19:44:03 +05:00
Andrej730
3cd2963b01
cmake - fix errors on older cmake #7023
2025-08-14 12:13:48 +05:00
Andrej730
41142c73bf
cmake ifcwrap - fix CMP0148 warning
...
The policy is removing FindPythonInterp and FindPythonLibs, but it was introduced in 3.27, so just skip it not to break minimum cmake ver.
2025-08-13 19:45:35 +05:00
Andrej730
89c54291b0
Keep CMP0177 OLD ( e54dce5dc) to avoid breaking min cmake version #7023
2025-08-13 19:45:35 +05:00
Chris Mayo
61fff3d2b4
Fix ifcwrap searching for headers in system directories #3883 ( #5697 )
2025-08-13 07:37:58 +00:00
Andrej730
3423e6b13d
cmake - remove trailing spaces
2025-08-12 19:05:52 +05:00
Andrej730
a955d2bdee
ifcwrap cmake - add hint about missing SWIG_EXECUTABLE
2025-08-12 19:05:52 +05:00
Andrej730
e54dce5dcf
ifcwrap cmake - set CMP0177 to new
...
To fix 1k warnings running in cmake 3.30+
The new policy is that cmake is normalizing destination paths in `install` and warns if normalization has any effect on them. In our case paths after normalization should be fine, so switching it to `NEW`.
2025-08-11 18:39:20 +05:00
Thomas Krijnen
6d3612bd5b
WASM build updates
2024-12-30 16:47:59 +01:00
Thomas Krijnen
9bbf345fd7
https://github.com/IfcOpenShell/svgfill/pull/8
2024-11-19 15:50:31 +01:00
Thomas Krijnen
83c40c7fb4
Don't try to install directories as files (some change in recent cmake?)
2024-10-03 10:30:53 +02:00
Andrej730
a7cac5c77b
IfcWrap cmake - regenerate .py and .cxx on changes in ifcopenshell libs
...
Previously they wouldn't be regenerated unless you edit .i files or manually remove .py/.cxx.
2024-09-17 16:28:01 +05:00
Andrej730
1575696a8b
ifcwrap cmake - use default CMP0078 policy
...
Something weird happened during merge in 7d90c31 and changes from 0055a5d were not applied
2024-09-17 16:28:01 +05:00
Andrej730
7d90c319f0
Merge branch 'test-cmake-policy-fix' into v0.8.0
2024-09-09 10:34:15 +05:00
Andrej730
0055a5dd82
ifcwrap cmake - use default CMP0078 policy
2024-09-06 19:58:52 +05:00
Andrej730
4ff0893a8b
ifcwrap cmake - fix CMP0078 warning
2024-09-06 18:28:50 +05:00
Andrej730
791d098800
ifcwrap cmake - fix CMP0078 warning
2024-09-06 18:12:00 +05:00
Andrej730
7e5bd0ca83
ifcwrap cmake - rebuild if .i files changed
2024-09-05 15:08:36 +05:00
Andrej730
84d58cc572
revert 4211e7a93 to restore bot builds #4980
2024-07-05 14:55:19 +05:00
Andrej730
ef39acfb05
Suffixes for compiled .pyd/.so based on the platform #4686
2024-07-05 11:44:01 +05:00
Andrej730
4211e7a936
IfcWrap CMake - migrate to FindPython
...
Previously it was giving deprecation warnings:
CMake Warning (dev) at /IfcOpenShell/src/ifcwrap/CMakeLists.txt:38 (FIND_PACKAGE):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed. Run "cmake --help-policy CMP0148" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
CMake Warning (dev) at /IfcOpenShell/src/ifcwrap/CMakeLists.txt:73 (FIND_PACKAGE):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed. Run "cmake --help-policy CMP0148" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
2024-07-03 18:12:22 +05:00
Thomas Krijnen
95e36979d5
Don't link against svgfill from python when building without cgal #4832
2024-06-11 12:32:11 +02:00
krande
d5da636b00
suggested change of ifcwrap pythoninterpreter function to no longer rely on distutil (which is deprecated in python 3.12).
2023-12-20 12:05:47 -08:00
Thomas Krijnen
09f6992c65
Fix linking of wrapper on GCC
2023-04-09 19:28:57 +00:00
Thomas Krijnen
af6734d7b0
IfcOpenShell WASM module build script ( #2617 )
2022-11-25 13:16:36 +01:00
Thomas Krijnen
a5af8807ee
pass config to swig preproc
2021-10-29 10:39:02 +02:00
Thomas Krijnen
2f8ff9391c
#1153 work on embedding svgfill in ifcopenshell wrapper
2021-08-07 23:09:19 +02:00
Thomas Krijnen
b0e12023b8
conditionally install pdb
2021-07-11 15:12:27 +02:00
Thomas Krijnen
7c0459bc6e
install pdb
2021-07-11 15:01:50 +02:00
Thomas Krijnen
a56ca661e8
BUILD_PACKAGE option
2021-03-08 14:52:57 +01:00
Christophe Prud'homme
0db743d3f7
Release V0.6.0 alpha 2
...
install in standard python dir
bump up version
2021-03-08 14:52:57 +01:00
Christophe Prud'homme
c9f40126c3
fix python package dir
...
@aothms the selection of the directory needs to fixed but the current choice is reasonnable
2021-03-08 14:52:57 +01:00
Christophe Prud'homme
c1b9062fa4
add package using cpack and install properly
2021-03-08 14:52:57 +01:00
Cyril Waechter
9060b6ee40
Rework python pset module ( #1221 )
...
New features
============
* Handle all syntax for ApplicableEntity as defined in IFC documentation. (drawback it increase request time by ~2/3)
* Allow to get applicable psets directly from template definition without caching.
This allow more general purpose usages. (drawback it increase request time by ~2.4)
To notice / discuss
===================
* `ifcwrap/CmakeLists` was installing only `.py` and `.bnf` files from `ifcopenshell-python`.
Why ? It now copy all files. Is it an issue ?
* property template file is now stored in ifcopenshell python module to allow usage
from every softwares. It was before only available for blenderbim addon.
* psets and qtos are now optionnally cached at object instead of module level.
This allow to work with multiple schema in the same python interpreter.
(eg. might help conversion between schemas)
* in blenderbim addon psetqto are now stored in `schema.psetqto`.
2020-12-31 21:39:33 +11:00
Thomas Krijnen
fd18916b20
Add express.bnf to install
2020-10-11 14:23:54 +02:00
Yorik van Havre
c76c72c017
Added USERSPACE_PYTHON_PREFIX cmake variable to allow install IfcPython in userspace instead of system-wide.
2020-06-28 12:48:25 +02:00
Thomas Krijnen
0b2bd5d0e8
Eliminate ICU dependency
2019-05-10 11:59:00 +02:00
Thomas Krijnen
f0fa9ca736
Install python module files using glob
2019-04-05 11:18:22 +02:00
johltn
a800a9e7c7
FIx MVD module
2019-03-04 12:50:28 +01:00
Thomas Krijnen
33220fa78c
Update python module install script
2017-10-06 16:37:22 +02:00
Stinkfist0
dd8ee915c3
ifcwrap/CMakeLists.txt: as PYTHONLIBS_FOUND and PYTHONINTERP_FOUND cannot seem to be trusted, perform further checks to see whether the packages were actually found or not.
...
E.g. one can doo set PYTHONHOME=C:/NoPythonHere
and when running CMake it will happily report:
-- Found PythonLibs: C:/NoPythonHere/libs/python34.lib
2017-04-12 10:39:41 +02:00
Stinkfist0
7fdbc9811d
src/ifcwrap/CMakeLists.txt: use PYTHON_INCLUDE_DIRS instead of the deprecated PYTHON_INCLUDE_PATH
2017-04-12 10:39:41 +02:00
Thomas Krijnen
06cad59fa2
Fix missing python module installation
2017-03-24 10:11:44 +01:00
Thomas Krijnen
c8cc8ab1c8
Resolve python library linking issues on OSX
2017-03-09 13:59:54 +01:00
Stinkfist0
77d53429e3
Make sure to link ifcwrap to Boost libs + fix integer conversion warning.
2017-01-14 20:13:46 +01:00
Thomas Krijnen
18c87b515b
Install ifcopenshell binaries in nix build script
2016-11-13 20:27:22 +01:00
Thomas Krijnen
435eb7ae10
Update python module install script
2016-06-28 15:48:58 +02:00
Ali Kämäräinen
685717b8b8
Fix build of IfcWrap ( #90 )
2016-06-09 22:49:00 +02:00
Thomas Krijnen
9bff4876c5
Don't apply rpaths on windows due to possible path separator conflicts
2016-05-15 15:51:12 +02:00