Stinkfist0
c13eb9e131
The usual way of doing MSVC dllimport/export. Add a warning print if building as DLL against the static VC-runtime.
2016-05-30 01:09:39 +03:00
Thomas Krijnen
83243ec514
IFCPARSE_STATIC_DEFINE only when BUILD_SHARED_LIBS is not set
2016-05-29 14:18:18 +02:00
stgatilov
b5c4eb3b6f
IfcParse dynamic linking, IFCPARSE_NO_REGEX, fixes for three memory leaks ( #76 )
...
* CMake: moved setting link directories before all the projects.
* Added IfcParse_Export header for declaring export macro.
* Added IFCPARSE_STATIC_DEFINE macro to all projects.
* Added include for export macro to swig file.
* Added IfcParse_EXPORT macro for all classes in headers generated by express parser.
* Allow removing boost.regex dependency by defining macro IFCPARSE_NO_REGEX.
* Fixed bug in deletion of ICU converter.
* Added export macro to most of the classes across headers
* Fixed memory leak: delete nested IfcAbstractEntity in EntityArgument.
* Fixed memory leak in destructor of IfcWritableEntity (args values).
2016-05-29 14:12:57 +02:00
Thomas Krijnen
a1c660f4ab
Fix static linking
2016-05-19 11:34:04 +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
Johannes Obermayr
42188904af
Fixes to build on openSUSE/Packman. ( #67 )
...
- Support different BINDIR, INCLUDEDIR and LIBDIR on install
- Take right python dir on x86_64 arch
- Fix build against Boost >= 1.58
- Make it possible to build libIfcGeom shared to reduce size of dependent binaries
- Fix INSTALL_RPATH
- Fix some more compiler warnings
2016-05-15 15:47:21 +02:00
Steven Zhang
7d145a5f69
fix build script under os x
2016-03-24 15:07:52 +08:00
Thomas Krijnen
5b30dfc580
Set required boost components again after merge
2016-03-23 10:27:34 +01:00
Stinkfist0
b9c5b0e6c8
Add IFCCONVERT_DOUBLE_PRECISION build option
2016-03-10 17:00:06 +02:00
Thomas Krijnen
827c6fd407
Build script fixes and compatibility with OSX / bash 3.2
2016-03-03 20:36:16 +01:00
Thomas Krijnen
90f72c4b2c
Merge pull request #35 from Tridify/ifcmax
...
Create CMake file for building IfcMax
2016-02-27 15:52:10 +01:00
Stinkfist0
ee75545ecd
README tweaks
2016-02-21 16:52:00 +02:00
Stinkfist0
e171e308d0
Enable solution folders
2016-02-20 00:13:04 +02:00
Stinkfist0
5ee9bed590
CMakeLists.txt for IfcMax. Tested with VS 2015 and 3ds Max + SDK 2016
2016-02-19 22:53:09 +02:00
yilativs
0f88520e75
[fix] CmakeLists.txt now works on ubuntu 16.04 without the need to compile oce
...
instead you can
apt-get install git swig cmake gcc g++ libftgl-dev libtbb2 libtbb-dev libboost-all-dev libgl1-mesa-dev libfreetype6-dev liboce-modeling-dev opencollada-dev liboce-foundation-dev
2016-02-19 20:28:46 +03:00
aothms
da0af77570
Compatibility for older versions of cmake, python, open cascade, boost
2016-02-18 13:17:15 +01:00
aothms
a6094f50b9
Let CMake find python interpreter for schema compilation and installation dir
...
Remove unused compiled schema in cpp installation target
2016-02-17 12:03:38 +01:00
aothms
4122759f1a
Add option to compile (external) schema by cmake
2016-02-15 16:59:47 +01:00
Stinkfist0
4979deb111
CMakeLists.txt: Remove sources specific to an IFC release we are not using from the project
2016-02-09 15:51:18 +02:00
Stinkfist0
61ccd8a7cf
VLD, not VLC...
2016-02-07 12:28:05 +02:00
Stinkfist0
cde1c5f2ee
Add build option for using Visual Leak Detector for debugging memory leaks. Initial report:
...
- IfcConvert (no arguments): 2 leaks (140 bytes) (from OCE)
- IfcConvert (acad2010_objects.ifc): 47 memory leaks (6,158 bytes)
- IfcGeomServer: 2 leaks (from OCE)
- IfcOpenHouse: 11,952 leaks (1,169,658 bytes)!
- IfcParseExamples (acad2010_objects.ifc): 40 memory leaks (4,564 bytes)
2016-02-07 00:30:08 +02:00
aothms
18f8d7b3a3
Add *nix build script
...
Set paths by CMake cache entries or env vars
Windows build script: Don't fail on non-zero exit code returned by `git fetch`
2016-01-09 06:38:33 +01:00
Stinkfist0
2dc5cd44b7
Enable warning C4100 ("'identifier' : unreferenced formal parameter") and fix warnings.
2015-11-23 15:52:12 +02:00
Stinkfist0
3cbb47a831
Bump up MSVC warning level.
2015-11-21 23:01:29 +02:00
Stinkfist0
ccf4e84e18
CMakeLists.txt: Clean up addition of debug lib variants on MSVC.
2015-11-14 19:19:55 +02:00
Stinkfist0
431e993ba3
CMake biz: Instead of providing elusive prints of missing dependencies for required features and continuing the build configuration, fail fast instead; user can easily disable the feature or fix the paths for the dependency.
2015-11-11 13:30:30 +02:00
Stinkfist0
d912e73282
Allow both debug and release variants of dependencies to co-exist allowing effortless switching between IfcOpenShell debug and release builds.
2015-11-10 23:18:02 +02:00
Stinkfist0
89a015724b
CMake biz: rename OCE_LIBRARIES to OPENCASCADE_LIBRARIES, use this variable also in examples & qtviewer CMakeLists.txt
2015-11-09 17:42:46 +02:00
Stinkfist0
0a8791e04e
Clean up CMake biz by using OCE_LIBRARIES variable for defining OCE libs + fix setting of PYTHON_INCLUDE_DIR + PYTHON_LIBRARY vars + small README.md cleanup.
2015-11-09 15:36:57 +02:00
Stinkfist0
b44a88d203
CMakeLists.txt: install IfcGeomServer executable.
2015-10-28 21:25:48 +02:00
Stinkfist0
89bea19b75
Enhanced CMakeLists.txt for Windows build scripts.
2015-10-28 19:45:45 +02:00
aothms
a58b2ede63
Fixes for unicode handling in Python
2015-09-13 14:43:42 +02:00
Thomas Krijnen
68fc361d96
Add SvgSerializer developed in collaboration with ROOT B.V.
2015-07-26 14:26:13 +00:00
Thomas Krijnen
9bf9f82b3b
Format obj and dae output predictably based on rfc notation of GlobalId. As discussed in https://sourceforge.net/p/ifcopenshell/discussion/1782717/thread/cbb0c8ca/
2015-05-13 14:30:21 +00:00
Thomas Krijnen
c97cf661a2
1. Also emit Plan and Axis shape representations and IfcTopologyRepresentations if requested. 2. Add serialization for curves. 3. In Python add option to specify representation for which to generate shape.
2015-04-22 09:15:48 +00:00
Thomas Krijnen
846e881cf4
Update build files
2015-02-17 19:52:18 +00:00
Thomas Krijnen
3801e52bff
Add an XML serializer (NB: Not ifcXML / 10303-28) that describes property set data, decomposition relations and SPF header fields
2015-02-06 13:07:50 +00:00
Thomas Krijnen
f3c26c372d
Parse the spf header and check schema_identifiers against compiled schema
2015-01-05 17:46:23 +00:00
Thomas Krijnen
4d5d749255
Merge developments from the python_wrapper branch into master
2015-01-05 14:11:42 +00:00
Thomas Krijnen
8872affe54
Update CMake build script
2014-12-19 12:37:31 +00:00
Thomas Krijnen
a0d74bdf83
Revamp the 'IfcGeomServer' idea to have an executable rather than a library to interface with. This way IFC processing runs in a separate process from the client application, so that crashes or out of memory issues do not bring down the client application.
2014-04-06 11:16:20 +00:00
Thomas Krijnen
2f16bb42ed
Add missing header to installation files. Thanks Fred.
2014-03-22 09:22:27 +00:00
Thomas Krijnen
268109875f
Update build scripts to include TKOffset
2014-03-19 09:47:24 +00:00
Thomas Krijnen
17f873b486
First stab at a new express parser to have some more luck with Ifc4
2014-02-17 22:13:55 +00:00
Thomas Krijnen
60963acd3f
Ability to use OpenCOLLADA when building from CMake
2014-01-02 15:52:20 +00:00
Jang Myeongho
06958a02a4
Fix cmake install scripts.
...
- fix renamed file: "IfcShapeList.h" -> "IfcRepresentationShapeItem.h"
- IfcImport target object file.
2013-12-11 03:17:05 +00:00
Thomas Krijnen
eb433ff8e2
Link to Boost.Program_options library from CMake
2013-11-22 08:04:32 +00:00
Thomas Krijnen
80bc1b5dab
[Work in progress] Start adding support for IfcSurfaceStyleShading and -Rendering
2013-05-05 08:49:25 +00:00
Thomas Krijnen
5d4ff0b54a
First push of a more all-round geometrical file conversion utility
2013-03-24 10:48:39 +00:00
Thomas Krijnen
6064ab0fa4
Disable building the QT Viewer from CMake
2012-12-18 12:18:52 +00:00