Skip to content

Instantly share code, notes, and snippets.

@byBretema
Created September 13, 2021 11:24
Show Gist options
  • Save byBretema/64565124f4617691338920ca3227bd36 to your computer and use it in GitHub Desktop.
Save byBretema/64565124f4617691338920ca3227bd36 to your computer and use it in GitHub Desktop.
command line assimp compilation
# For Windows
cmake .. -D ASSIMP_BUILD_FRAMEWORK:BOOL=OFF -D ASSIMP_INSTALL:BOOL=OFF -D ASSIMP_BUILD_TESTS:BOOL=OFF -D ASSIMP_BUILD_ASSIMP_TOOLS:BOOL=OFF -D ASSIMP_NO_EXPORT:BOOL=ON
# For Linux
cmake .. -D CMAKE_CXX_FLAGS_DEBUG="-O0 -g3 -ggdb -Wall -Wpedantic -Wextra -Wweak-vtables -fexceptions" -D CMAKE_CXX_FLAGS_RELEASE="-Ofast" -D ASSIMP_BUILD_FRAMEWORK:BOOL=OFF -D ASSIMP_INSTALL:BOOL=OFF -D ASSIMP_BUILD_TESTS:BOOL=OFF -D ASSIMP_BUILD_ASSIMP_TOOLS:BOOL=OFF -D ASSIMP_NO_EXPORT:BOOL=ON
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment