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
Ali Kämäräinen
3c418e8e0a
Windows batch script enhancements ( #88 )
...
* Make possible to invoke run-cmake.bat, build-ifcopenshell.cmd (now bat), install-ifcopenshell.cmd (now bat) directly from File Explorer or command prompt without VS env vars set, if BuildDepsCache file exists, by utilizing CMake's --build functionality. Do not delete CMakeCache.txt always now in order to keep the build options consistent.
* win/readme.md tweaks + make the line width smaller
* Windows batch files: use the last modified BuildDepsCache. Show an error if GEN_SHORTHAND does not exist.
2016-06-17 22:30:33 +02:00
Thomas Krijnen
82a1e33386
Merge pull request #39 from Tridify/fixed_opencollada_revision
...
Use a fixed revision of OpenCOLLADA...
2016-03-05 13:50:41 +01:00
Stinkfist0
851fadb4ec
build-deps.cmd: GitCloneAndCheckoutRevision - always checkout the revision, so that users don't have the nuke their existing clones before running the script.
2016-02-27 17:44:45 +02:00
Stinkfist0
7ed219af70
Use a fixed revision of OpenCOLLADA in order to prevent introducing breaking changes. Closes #36 , related to #38
2016-02-25 17:34:41 +02:00
Stinkfist0
d1a1759016
Use a fixed revision of OpenCOLLADA in order to prevent introducing breaking changes. Closes #36 , related to #38
2016-02-25 17:23: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
aothms
10bec3eee0
Replace PYTHONPATH with PYTHONHOME
2016-02-18 14:57:57 +01:00
Stinkfist0
2e6601b3e7
build-deps.cmd: do not print build times if build did not even start properly.
2016-02-03 16:10:55 +02:00
Stinkfist0
a041d289c6
Add build-all.cmd script for convenience.
2016-02-03 16:10:55 +02:00
Stinkfist0
f2bdfbd049
Windows build scripts: move build configuration type to a separate file.
2016-02-03 16:10:32 +02:00
Stinkfist0
18e451b874
Windows build scripts: detect case where user installed Visual Studio but not the C++ toolset. Also detect case where user's CMake version is too old for the desired generator.
2016-02-03 16:10:32 +02:00
Stinkfist0
a52901344c
build-deps.cmd: print start, end, and elapsed time + .gitignore doc tweak
2016-01-26 13:41:19 +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
d3438335a2
Work around https://github.com/KhronosGroup/OpenCOLLADA/issues/377
2015-12-30 16:26:16 +02:00
Stinkfist0
a0bb589ed3
build-deps.cmd: use OCE and oce-win-bundle from the official repos.
2015-12-30 13:32:22 +02:00
Stinkfist0
e2d3b3734f
Use IFCOS_NUM_BUILD_PROCS also in build-ifcopenshell.cmd and install-ifcopenshell.cmd.
2015-12-07 16:30:08 +02:00
Stinkfist0
3224a2cf83
build-ifcopenshell & install-ifcopenshell batch files
2015-12-04 17:33:13 +02:00
Stinkfist0
fff6f97651
build-deps: when building OpenCOLLADA, enforce that the embedded LibXml2 and PCRE are used as there might be problems with arbitrary versions of the libraries.
2015-11-20 12:45:56 +02:00
Stinkfist0
6a5d5dcb12
Further cleanup for the batch scripts.
2015-11-20 12:34:31 +02:00
Stinkfist0
bb3dc351b8
Batch file tweaks, fix printing of the used generator
2015-11-20 11:44:17 +02:00
Stinkfist0
90946e0877
Windows build scripts: TODO & indentation tweaks.
2015-11-20 00:45:01 +02:00
Stinkfist0
7895835ca3
build-deps.cmd: check that powershell, git and cmake are in path using where.exe. Print instructions upon missing VS env vars or tools in PATH.
2015-11-19 18:01:03 +02:00
Stinkfist0
7caa4e3e1d
Replace cecho.exe with PowerShell snippet, fix exit bug in vs-cfg.cmd, fix Visual Studio download URL, rename IFCOS_NUM_BUILD_PROCESSES -> IFCOS_NUM_BUILD_PROCS
2015-11-19 17:30:55 +02:00
Stinkfist0
d721dabf3b
Replace wget usage with PowerShell.
2015-11-17 16:02:06 +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
106da12444
build-deps.cmd: make debug libs of OpenCOLADA and ICU to have "d" postfix so that release and debug variants can co-exist in the same dir as is the default with OCE.
2015-11-10 20:05:11 +02:00
Stinkfist0
8b63959509
Use separate BuildDepsCache.txt for x86 and x64 builds.
2015-11-09 16:04:06 +02:00
Stinkfist0
318779196b
Use BuildDepsCache.txt to store information about used Python version so that it's available for "autonomic" run-cmake.bat runs.
2015-11-05 18:05:20 +02:00
Stinkfist0
a749775045
build-deps.cmd: use OpenCOLLADA from the official repo now that it has the static MSVC run-time option.
2015-11-03 16:55:33 +02:00
Stinkfist0
26ed16ba52
Make possible to switch between Python 2 & 3 easily. Fixes also possible confusion when having both 32-bit and 64-bit Python installations side by side.
2015-11-03 16:28:30 +02:00
Stinkfist0
455d382a9e
build-deps.cmd: add option to use Python 2 instead of 3, fix Boost build variant (for some reason error did not manifest itself until clean build)
2015-10-30 21:12:08 +02:00
Stinkfist0
c9313c8e02
build-deps.cmd: update SWIG, build Boost as debug or release, not both, each run.
2015-10-29 00:23:19 +02:00
Stinkfist0
b8a7b5426d
build-deps.cmd: fix Python installation. Also uninstall Python if build type is Clean or Rebuild.
2015-10-28 21:08:08 +02:00
Stinkfist0
5c0eb05482
Add Windows build scripts from https://github.com/Tridify/IfcOpenShell-SourceForge
2015-10-28 19:43:10 +02:00