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
Stinkfist0
08aeb80f58
Make set-python-to-path.bat callable from outside locations
2016-06-02 14:39:29 +03: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
645315a8f4
remove win/sln as these are not needed anymore
2016-02-19 23:02:09 +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
aothms
4122759f1a
Add option to compile (external) schema by cmake
2016-02-15 16:59:47 +01:00
Stinkfist0
f12e980bfe
build-all.cmd: simplify "yes" trick
2016-02-15 15:08:13 +02:00
Stinkfist0
33772a4710
run-cmake.bat & build-all.cmd: fix cmake arguments parsing when arguments passed for the batch scripts
2016-02-06 18:48:18 +02:00
Stinkfist0
17ecc43f78
vs-cfg.cmd: remove if-clause, an erroneous syntax print comes if this script is called when VS env vars not set but that's OK.
2016-02-04 11:46:53 +02:00
Stinkfist0
72999e04d9
vs-cfg.cmd: clean up output when used wrongly (VS tools not in path and empty/no generator argument passed).
2016-02-04 00:43:52 +02:00
Stinkfist0
d095bfecde
Fix command-line argument parsing in run-cmake.bat and build-all.cmd
2016-02-03 22:16:50 +02:00
Stinkfist0
2e1699beea
build-all.cmd: support for passing arguments, e.g. build-all.cmd vs2015-x64 RelWithDebInfo -DUSE_IFC4=1 -DENABLE_BUILD_OPTIMIZATIONS=1
2016-02-03 16:36:07 +02:00
Stinkfist0
5c07c8dc95
run-cmake.bat print tweak
2016-02-03 16:15:40 +02:00
Stinkfist0
0fa05faee8
Simplify run-cmake.bat, the script can now be used e.g. run-cmake.bat vs2015-x64 -UDUSE_IFC4=1 -DCMAKE_INSTALL_PREFIX=C:/IfcOpenShell/Ifc4
2016-02-03 16:12:52 +02:00
Stinkfist0
21e8a1e8e6
vs-cfg.cmd: provide support for user-friendly VS generators, e.g. vs2013-x86, and converted them to the appropriate CMake ones.
2016-02-03 16:10:55 +02: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
634932e6e7
run-cmake.bat: set CMAKE_INSTALL_PREFIX also when passing extra parameters for the script
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
01f8882311
adjust build-ifcopenshell & install-ifcopenshell to the build cfg batch file change
2016-02-03 16:10:54 +02:00
Stinkfist0
f2bdfbd049
Windows build scripts: move build configuration type to a separate file.
2016-02-03 16:10:32 +02:00
Stinkfist0
c7bf03e8f8
Add set-python-to-path.bat helper, add instructions for using preinstalled Python.
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
ed8cc620ea
Use boost::shared_ptr
...
Fixes https://github.com/IfcOpenShell/IfcOpenShell/issues/17
2016-01-25 14:42:41 +01: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
0877bb0ac3
Windows build scripts: if CMake generator not passed, deduce the generator from VS env vars.
2015-12-01 14:53:16 +02:00
Stinkfist0
fcbe93c4c2
vs-cfg.cmd: support CMake pre-3.0 Visual Studio generator strings.
2015-11-23 15:27:58 +02:00
Stinkfist0
b562508f5b
win/readme.md tweak
2015-11-22 00:04:21 +02:00
Stinkfist0
7d806296c1
vs-cfg.cmd: use the longer generator names for all generator so that VS version can be identified in generic fashion
2015-11-21 13:16:47 +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
9087bc65a7
win/readme.md tweaks
2015-11-14 20:18:29 +02:00
Stinkfist0
0f1db1267b
Rename readme.txt to readme.md, link to the Windows readme.md from the main README.md.
2015-11-11 17:41:38 +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