Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
c9ff455
Move Visual Studio solution files from win\ to win\sln
Stinkfist0 Oct 28, 2015
5c0eb05
Add Windows build scripts from https://github.com/Tridify/IfcOpenShel…
Stinkfist0 Oct 28, 2015
89bea19
Enhanced CMakeLists.txt for Windows build scripts.
Stinkfist0 Oct 28, 2015
b8a7b54
build-deps.cmd: fix Python installation. Also uninstall Python if bui…
Stinkfist0 Oct 28, 2015
d5efe45
Update READMEs.
Stinkfist0 Oct 28, 2015
921c3eb
SvgSerializer.cpp: add missing #include <Standard_Version.hxx>
Stinkfist0 Oct 28, 2015
b44a88d
CMakeLists.txt: install IfcGeomServer executable.
Stinkfist0 Oct 28, 2015
c9313c8
build-deps.cmd: update SWIG, build Boost as debug or release, not bot…
Stinkfist0 Oct 28, 2015
455d382
build-deps.cmd: add option to use Python 2 instead of 3, fix Boost bu…
Stinkfist0 Oct 30, 2015
7b4d873
run-cmake.bat: ensure Python packages are installed to the right dire…
Stinkfist0 Oct 30, 2015
26ed16b
Make possible to switch between Python 2 & 3 easily. Fixes also possi…
Stinkfist0 Nov 3, 2015
a749775
build-deps.cmd: use OpenCOLLADA from the official repo now that it ha…
Stinkfist0 Nov 3, 2015
d4b51a8
Fix/suppress plethora of integer conversion warnings on x64 Visual St…
Stinkfist0 Nov 3, 2015
206a9cf
Work around https://github.com/swig/swig/issues/325
Stinkfist0 Nov 4, 2015
6190771
Fix/suppress signed-unsigned int conversion warnings on Windows x64.
Stinkfist0 Nov 4, 2015
3187791
Use BuildDepsCache.txt to store information about used Python version…
Stinkfist0 Nov 5, 2015
0a8791e
Clean up CMake biz by using OCE_LIBRARIES variable for defining OCE l…
Stinkfist0 Nov 9, 2015
8b63959
Use separate BuildDepsCache.txt for x86 and x64 builds.
Stinkfist0 Nov 9, 2015
89a0157
CMake biz: rename OCE_LIBRARIES to OPENCASCADE_LIBRARIES, use this va…
Stinkfist0 Nov 9, 2015
106da12
build-deps.cmd: make debug libs of OpenCOLADA and ICU to have "d" pos…
Stinkfist0 Nov 10, 2015
d912e73
Allow both debug and release variants of dependencies to co-exist all…
Stinkfist0 Nov 10, 2015
431e993
CMake biz: Instead of providing elusive prints of missing dependencie…
Stinkfist0 Nov 11, 2015
0f1db12
Rename readme.txt to readme.md, link to the Windows readme.md from th…
Stinkfist0 Nov 11, 2015
ccf4e84
CMakeLists.txt: Clean up addition of debug lib variants on MSVC.
Stinkfist0 Nov 14, 2015
9087bc6
win/readme.md tweaks
Stinkfist0 Nov 14, 2015
d721dab
Replace wget usage with PowerShell.
Stinkfist0 Nov 17, 2015
7caa4e3
Replace cecho.exe with PowerShell snippet, fix exit bug in vs-cfg.cmd…
Stinkfist0 Nov 19, 2015
7895835
build-deps.cmd: check that powershell, git and cmake are in path usin…
Stinkfist0 Nov 19, 2015
90946e0
Windows build scripts: TODO & indentation tweaks.
Stinkfist0 Nov 19, 2015
bb3dc35
Batch file tweaks, fix printing of the used generator
Stinkfist0 Nov 20, 2015
6a5d5dc
Further cleanup for the batch scripts.
Stinkfist0 Nov 20, 2015
fff6f97
build-deps: when building OpenCOLLADA, enforce that the embedded LibX…
Stinkfist0 Nov 20, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Dependency and build folders created by the build scripts
/deps*/
/build*/
/install*/
/win/BuildDepsCache*.txt
42 changes: 25 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
IfcOpenShell
============
open source (LGPL) software library for working with the IFC file format
Open source (LGPL) software library for working with the IFC file format.

[http://ifcopenshell.org](http://ifcopenshell.org)
[http://academy.ifcopenshell.org](http://academy.ifcopenshell.org)


Prerequisites
=============
* Git, CMake (2.6 or newer), Visual Studio 2008 or newer (Windows), or GCC (*nix, Clang untested).


Dependencies
============
* [Boost](http://www.boost.org/)
Expand All @@ -18,32 +23,33 @@ Dependencies
For IfcConvert to be able to write tessellated Collada (.dae) files
* [SWIG](http://www.swig.org/), [Python](https://www.python.org/) libraries *optional*
For building the IfcOpenShell Python interface and the Blender add-on
* 3ds max SDK *optional*
For building the 3ds max plug-in
* 3ds Max SDK *optional*
For building the 3ds Max plug-in


Compiling on Windows
====================
Users are advised to use the Visual Studio .sln file in the win/ folder.
For Windows users a prebuilt Open CASCADE version is available from the
http://opencascade.org website. Download and install this version and
provide the paths to the Open CASCADE header and library files to MS
Visual Studio C++.
Users are advised to build IfcOpenShell using the CMake file provided in
the cmake/ folder.

For building the Autodesk 3ds Max plugin, the 3ds Max SDK needs to be
installed as well as 3ds Max itself. Please provide the include and
library paths to Visual Studio.
The preferred way to fetch and build this project's dependencies is to use the build scripts
in win/ folder. See [win/readme.md] for more information. Instructions in a nutshell
(assuming Visual Studio x64 environment variables set):
> git clone https://github.com/IfcOpenShell/IfcOpenShell.git
> cd oce\win
> build-deps.cmd (defaults to using VS 2015 x64 RelWithDebInfo build)
> run-cmake.bat (defaults to using VS 2015 x64)
> ..\build-vs2015-x64\IfcOpenShell.sln
You can now build the solution using the RelWithDebInfo configuration (freshly created solution by CMake defaults to Debug).
Build the INSTALL project to deploy the headers and binaries into a single location if wanted/needed.

For building the IfcPython wrapper, SWIG needs to be installed. Please
download the latest swigwin version from http://www.swig.org/download.html.
After extracting the .zip file, please add the extracted folder to the PATH
environment variable. Python needs to be installed, please provide the
include and library paths to Visual Studio.
Alternatively, the old Visual Studio solution and project files requiring manual work can
be found from the win/sln folder.


Compiling on *nix
=================
Users are advised to build IfcOpenShell using the cmake file provided in
Users are advised to build IfcOpenShell using the CMake file provided in
the cmake/ folder. There might be an Open CASCADE package in your operating
system's software repository. If not, you will need to compile Open
CASCADE yourself. See http://opencascade.org.
Expand Down Expand Up @@ -146,3 +152,5 @@ Or:
>>>
>>> # Writing IFC-SPF files to disk:
>>> f.write("out.ifc")

[win/readme.md]: https://github.com/IfcOpenShell/IfcOpenShell/tree/master/win/readme.md "win/readme.md"
Loading