Last active
September 24, 2023 06:29
-
-
Save thu0x31/dcfb8cbdec22a9ad6255e7acc1d4c664 to your computer and use it in GitHub Desktop.
Houdini HDK CGAL CMakePresets.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": 5, | |
"configurePresets": [ | |
{ | |
"name": "default", | |
"hidden": true, | |
"generator": "Visual Studio 17 2022", | |
"binaryDir": "${sourceDir}/build", | |
"architecture": { | |
"value": "x64", | |
"strategy": "external" | |
}, | |
"toolset": { | |
"value": "host=x64", | |
"strategy": "external" | |
}, | |
"environment": { | |
"HOUDINI_ROOT": "C:/Program Files (x86)/Steam/steamapps/common/Houdini Indie" | |
}, | |
"cacheVariables": { | |
"CMAKE_C_COMPILER": "cl.exe", | |
"CMAKE_CXX_COMPILER": "cl.exe", | |
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake", | |
"CMAKE_PREFIX_PATH": "$env{HOUDINI_ROOT}/toolkit/cmake" | |
}, | |
"vendor": { | |
"microsoft.com/VisualStudioSettings/CMake/1.0": { | |
"hostOS": [ "Windows" ] | |
} | |
} | |
}, | |
{ | |
"name": "release", | |
"hidden": true, | |
"cacheVariables": { | |
"CMAKE_BUILD_TYPE": "Release", | |
"CMAKE_CXX_FLAGS_RELEASE": "-O2", | |
"CMAKE_C_FLAGS_RELEASE": "-O2" | |
} | |
}, | |
{ | |
"name": "release-visual-studio-windows-x64", | |
"inherits": ["default", "release"] | |
}, | |
{ | |
"name": "release-ninja-windows-x64", | |
"generator": "Ninja", | |
"cacheVariables": { | |
"CMAKE_EXPORT_COMPILE_COMMANDS": "YES" | |
}, | |
"inherits": ["default", "release"] | |
} | |
], | |
"buildPresets": [ | |
{ | |
"name": "build-release-visual-studio-windows-x64", | |
"configurePreset": "release-visual-studio-windows-x64", | |
"configuration": "Release" | |
}, | |
{ | |
"name": "build-release-ninja-windows-x64", | |
"configurePreset": "release-ninja-windows-x64", | |
"configuration": "Release" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment