mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
run-cmake.bat: ensure Python packages are installed to the right direction.
This commit is contained in:
+5
-4
@@ -27,14 +27,15 @@ After the dependencies are build, execute run-cmake.bat. The batch file expects
|
||||
%1, or alternatively if more parameters are provided, %* is passed for the CMake inkovation. If no %1
|
||||
is provided, the same default value as above is used. This batch script will create a folder of form
|
||||
build-vs<VERSION>-<ARCHITECTURE> which will contain the solution and project files for Visual Studio.
|
||||
IMPORTANT: If you wish to use any library from a custom location, modify the paths in run-cmake.bat
|
||||
accordingly.
|
||||
|
||||
All of the dependencies are build as static libraries against the static run-time allowing the developer
|
||||
to effortlessly deploy standalone binaries.
|
||||
|
||||
You can now build the project using the IfcOpenShell.sln file in the build folder. Build the INSTALL
|
||||
project if wanted. The project will installed to installed-vs<VERSION>-<ARCHITECTURE> folder in the
|
||||
project's root folder and the required IfcOpenShell-Python parts are deployed to the Python's Lib
|
||||
folder.
|
||||
You can now build the project using the IfcOpenShell.sln file in the build folder. Build the INSTALL project
|
||||
if wanted. The project will installed to installed-vs<VERSION>-<ARCHITECTURE> folder in the project's root
|
||||
folder and the required IfcOpenShell-Python parts are deployed to the <PYTHONPATH>\Lib\site-packages folder.
|
||||
|
||||
|
||||
== Directory Structure ==
|
||||
|
||||
+4
-3
@@ -42,9 +42,10 @@ set OCC_INCLUDE_DIR=%INSTALL_DIR%\oce\include\oce
|
||||
set OCC_LIBRARY_DIR=%INSTALL_DIR%\oce\Win%ARCH_BITS%\lib
|
||||
set OPENCOLLADA_INCLUDE_DIR=%INSTALL_DIR%\OpenCOLLADA\include\opencollada
|
||||
set OPENCOLLADA_LIBRARY_DIR=%INSTALL_DIR%\OpenCOLLADA\lib\opencollada
|
||||
:: TODO 3ds Max SDK?
|
||||
set PYTHONPATH=%INSTALL_DIR%\Python
|
||||
set SWIG_DIR=%INSTALL_DIR%\swigwin
|
||||
set PATH=%PATH%;%SWIG_DIR%
|
||||
set PATH=%PATH%;%SWIG_DIR%;%PYTHONPATH%
|
||||
:: TODO 3ds Max SDK?
|
||||
|
||||
echo.
|
||||
cecho {0A}Script configuration:{# #}{\n}
|
||||
@@ -61,7 +62,7 @@ echo OCC_INCLUDE_DIR = %OCC_INCLUDE_DIR%
|
||||
echo OCC_LIBRARY_DIR = %OCC_LIBRARY_DIR%
|
||||
echo OPENCOLLADA_INCLUDE_DIR = %OPENCOLLADA_INCLUDE_DIR%
|
||||
echo OPENCOLLADA_LIBRARY_DIR = %OPENCOLLADA_LIBRARY_DIR%
|
||||
:: TODO Python
|
||||
echo PYTHONPATH = %PYTHONPATH%
|
||||
echo SWIG_DIR = %SWIG_DIR%
|
||||
echo.
|
||||
echo CMAKE_INSTALL_PREFIX = %CMAKE_INSTALL_PREFIX%
|
||||
|
||||
Reference in New Issue
Block a user