Ali Kämäräinen
e064098f84
Build instructions and PCRE lib dir ( #120 )
...
* CMakeLists.txt: show fatal error if PCRE not found if COLLADA_SUPPORT is on.
* Compiling on *nix instruction tweaks.
2016-08-22 11:45:37 +02:00
Bernd Hahnebach
8dadb71648
Add OpenCollada to travis and fix cmake ( #119 )
...
* travis: collada support
* travis: opencollada, specify pcre library
2016-08-15 13:14:15 +02:00
Thomas Krijnen
9d757e1b3c
Correct typo https://github.com/IfcOpenShell/IfcOpenShell/pull/114/files#r74275264
2016-08-13 10:51:04 +02:00
Thomas Krijnen
59035e7ce2
Merge pull request #114 from aothms/cmake_improvements
...
Cmake improvements: LINK_DIRECTORIES and OCCT 7
2016-08-08 13:40:38 +02:00
Thomas Krijnen
f1099fc3b1
Merge branch 'master' into tridify_ifcgeom_dll
...
# Conflicts:
# cmake/CMakeLists.txt
2016-08-08 10:56:06 +02:00
Stinkfist0
0f857283e8
CMakeLists.txt: append possible extra libraries to OPENCASCADE_LIBRARIES before the variable is used for any target.
2016-08-08 01:40:26 +03:00
Thomas Krijnen
1def5db7e4
Detect OCCT7 and set -std=c++11 accordingly.
2016-08-07 10:38:18 +02:00
Thomas Krijnen
e9bd18fd4b
Don't search default directories. Use absolute paths to specify libraries.
2016-08-07 10:37:29 +02:00
Ali Kämäräinen
a26253321f
Bash on Ubuntu on Windows instructions, readme and cmake improvements ( #113 )
...
* README.md: add note about Visual C++ Build Tools and Bash on Ubuntu on Windows. Enhance the Compiling on *nix instructions.
* Fix newline.
* README.md tweak
* CMakeLists.txt: remove CHECK_ADD_OCE_OCC_DEF INCLUDE() for good as these are not needed any more at all (OCE codebase also checked and no signs of these).
2016-08-06 10:45:29 +02:00
Stinkfist0
3cba5e6e94
Rename BUILD_SHARED_LIBS project-wide precompiler definition to IFC_SHARED_BUILD
2016-07-20 22:59:19 +03:00
Stinkfist0
6d6e7c2982
Unify IfcParse's dllimport/export macros with IfcGeom.
2016-07-20 22:49:32 +03:00
Ali Kämäräinen
4a85e5e7a5
MSYS build scripts and instructions ( #99 ) and warning fixes
...
* Preliminary MSYS2 + MinGW build scripts and instructions.
* CMakeLists.txt: MinGW tweaks, enforce C++03, suppress warnings for now.
* Fix some GCC warnings.
* Fix unused parameter warnings coming from Ifc*.h.
* Fix warning regarding unreachable code (++jt) on MSVC.
* Add IfcParse_EXPORT for IfcInvalidTokenException
* Fix potentially uninitialized pointer variables.
* Note about OpenCASCADE cyclic dependencies fix.
* GCC warning fix: don't generate 'current_enum' variable that is only set and not used for anything ever
* Work around -Wmaybe-uninitialized warnings about boost::optional constructs. Also prevent passing of negative values for --bounds.
* Remove unused variable.
* CMakeLists.txt: ENABLE_BUILD_OPTIMIZATIONS for GCC (simply enforce -03)
2016-07-15 05:49:32 +02:00
Stinkfist0
6bcabfd567
Dllimport/export for IfcGeom. Closes #77
2016-07-11 22:37:50 +03:00
Thomas Krijnen
478bda30bc
Install both libraries. Force IfcGeom to static on Windows. Correct IfcParse linkage. Update IfcMax
2016-06-22 14:54:55 +02:00
Johannes Obermayr
ea6fbc77dd
Bring back logic for BUILD_SHARED_LIBS.
...
Also remove C++11 code.
2016-06-14 20:30:02 +02:00
Thomas Krijnen
b3167cf1e6
build script simplification
2016-06-09 10:48:43 +02:00
Thomas Krijnen
44f785cce0
Merge branch 'master' into dynamic_lib_fixes
...
# Conflicts:
# cmake/CMakeLists.txt
2016-06-09 10:46:58 +02:00
Thomas Krijnen
815ed07192
MinGW fixes and warnings
2016-06-05 14:03:03 +02:00
Thomas Krijnen
009870135f
Merge branch 'pr/78' into mingw
2016-06-05 14:01:55 +02:00
Stinkfist0
77b72a9dde
IfcException.h: suppress C4275 warnings
2016-05-31 14:45:22 +03:00
Stinkfist0
aa03da20a8
Bump up non-MSVC compiler's warning level to a level somewhat similar to MSVC.
2016-05-30 17:44:36 +03:00
Stinkfist0
53fadd9808
CMakeLists.txt: document usage of IFCDIRS.
2016-05-30 15:29:45 +03:00
Stinkfist0
906fefaf35
Fix installation of IfcParse DLL.
2016-05-30 15:12:07 +03:00
Stinkfist0
90a2c445ea
Fix broken build of the project when BUILD_SHARED_LIBS=1
2016-05-30 13:54:24 +03:00
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
Fredounet
3b169219af
MSYS2 Mingw64 compilation. Compilation successful considering everything but the following:
...
- IFC4 (only IFC2x3 tried; should work)
- VLD
- IfcMax
- shared libraries
2016-05-29 17:58:03 +01: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