summaryrefslogtreecommitdiff
path: root/libs/assimp/BUILDBINARIES_EXAMPLE.bat
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-04-16 11:55:09 -0500
committersanine <sanine.not@pm.me>2022-04-16 11:55:09 -0500
commitdb81b925d776103326128bf629cbdda576a223e7 (patch)
tree58bea8155c686733310009f6bed7363f91fbeb9d /libs/assimp/BUILDBINARIES_EXAMPLE.bat
parent55860037b14fb3893ba21cf2654c83d349cc1082 (diff)
move 3rd-party librarys into libs/ and add built-in honeysuckle
Diffstat (limited to 'libs/assimp/BUILDBINARIES_EXAMPLE.bat')
-rw-r--r--libs/assimp/BUILDBINARIES_EXAMPLE.bat25
1 files changed, 25 insertions, 0 deletions
diff --git a/libs/assimp/BUILDBINARIES_EXAMPLE.bat b/libs/assimp/BUILDBINARIES_EXAMPLE.bat
new file mode 100644
index 0000000..0752b3b
--- /dev/null
+++ b/libs/assimp/BUILDBINARIES_EXAMPLE.bat
@@ -0,0 +1,25 @@
+:: This is an example file to generate binaries using Windows Operating System
+:: This script is configured to be executed from the source directory
+
+:: Compiled binaries will be placed in BINARIES_DIR\code\CONFIG
+
+:: NOTE
+:: The build process will generate a config.h file that is placed in BINARIES_DIR\include
+:: This file must be merged with SOURCE_DIR\include
+:: You should write yourself a script that copies the files where you want them.
+:: Also see: https://github.com/assimp/assimp/pull/2646
+
+SET SOURCE_DIR=.
+SET GENERATOR=Visual Studio 16 2019
+
+SET BINARIES_DIR="./build/Win32"
+cmake . -G "%GENERATOR%" -A Win32 -S %SOURCE_DIR% -B %BINARIES_DIR%
+cmake --build %BINARIES_DIR% --config debug
+cmake --build %BINARIES_DIR% --config release
+
+SET BINARIES_DIR="./build/x64"
+cmake . -G "%GENERATOR%" -A x64 -S %SOURCE_DIR% -B %BINARIES_DIR%
+cmake --build %BINARIES_DIR% --config debug
+cmake --build %BINARIES_DIR% --config release
+
+PAUSE