-
Notifications
You must be signed in to change notification settings - Fork 363
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7a92fa5
commit c153d22
Showing
1 changed file
with
110 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
{ | ||
"buildPresets": [ | ||
{ | ||
"configurePreset": "conda-default-debug", | ||
"name": "conda-default-debug" | ||
}, | ||
{ | ||
"configurePreset": "conda-clang-debug", | ||
"name": "conda-clang-debug" | ||
} | ||
], | ||
"configurePresets": [ | ||
{ | ||
"binaryDir": "${sourceDir}/build/${presetName}", | ||
"cacheVariables": { | ||
"CMAKE_AR": "$env{AR}", | ||
"CMAKE_INSTALL_LIBDIR": "lib", | ||
"CMAKE_INSTALL_PREFIX": "$env{CONDA_PREFIX}", | ||
"CMAKE_LINKER": "$env{LD}", | ||
"CMAKE_PREFIX_PATH": "$env{CONDA_PREFIX}", | ||
"CMAKE_RANLIB": "$env{RANLIB}", | ||
"CMAKE_STRIP": "$env{STRIP}" | ||
}, | ||
"description": "Base profile using conda libraries", | ||
"displayName": "Conda Base", | ||
"hidden": true, | ||
"name": "conda-base" | ||
}, | ||
{ | ||
"cacheVariables": { | ||
"CMAKE_CXX_COMPILER": "$env{CXX}", | ||
"CMAKE_CXX_COMPILER_AR": "$env{GCC_AR}", | ||
"CMAKE_CXX_COMPILER_RANLIB": "$env{GCC_RANLIB}", | ||
"CMAKE_CXX_FLAGS_DEBUG": "$env{DEBUG_CXXFLAGS}", | ||
"CMAKE_CXX_FLAGS_RELEASE": "$env{CXXFLAGS}", | ||
"CMAKE_C_COMPILER": "$env{CC}", | ||
"CMAKE_C_COMPILER_AR": "$env{GCC_AR}", | ||
"CMAKE_C_COMPILER_RANLIB": "$env{GCC_RANLIB}", | ||
"CMAKE_C_FLAGS_DEBUG": "$env{DEBUG_CFLAGS}", | ||
"CMAKE_C_FLAGS_RELEASE": "$env{CFLAGS}" | ||
}, | ||
"description": "Base profile using conda libraries and environment variables", | ||
"displayName": "Conda Default", | ||
"hidden": true, | ||
"inherits": [ | ||
"conda-base" | ||
], | ||
"name": "conda-default" | ||
}, | ||
{ | ||
"cacheVariables": { | ||
"CMAKE_CXX_COMPILER": "clang++", | ||
"CMAKE_CXX_FLAGS": "-fcolor-diagnostics", | ||
"CMAKE_C_COMPILER": "clang", | ||
"CMAKE_LINKER": "lld" | ||
}, | ||
"description": "Base profile using conda libraries and Clang", | ||
"displayName": "Conda Clang", | ||
"hidden": true, | ||
"inherits": [ | ||
"conda-base" | ||
], | ||
"name": "conda-clang" | ||
}, | ||
{ | ||
"cacheVariables": { | ||
"CMAKE_CXX_COMPILER_LAUNCHER": "ccache", | ||
"CMAKE_C_COMPILER_LAUNCHER": "ccache", | ||
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON" | ||
}, | ||
"description": "Base profile for tools", | ||
"displayName": "Tool Base", | ||
"generator": "Unix Makefiles", | ||
"hidden": true, | ||
"name": "tool-base", | ||
"warnings": { | ||
"dev": true, | ||
"uninitialized": true, | ||
"unusedCli": true | ||
} | ||
}, | ||
{ | ||
"cacheVariables": { | ||
"CMAKE_BUILD_TYPE": "Debug", | ||
"CMAKE_CXX_FLAGS": "-fdiagnostics-color=always" | ||
}, | ||
"description": "A debug build using conda libraries and environment variables", | ||
"displayName": "Conda Debug", | ||
"inherits": [ | ||
"conda-default", | ||
"tool-base" | ||
], | ||
"name": "conda-default-debug" | ||
}, | ||
{ | ||
"cacheVariables": { | ||
"CMAKE_BUILD_TYPE": "Debug", | ||
"CMAKE_CXX_FLAGS": "-fcolor-diagnostics" | ||
}, | ||
"description": "A debug build using conda libraries and clang compiler", | ||
"displayName": "Conda Debug", | ||
"inherits": [ | ||
"conda-clang", | ||
"tool-base" | ||
], | ||
"name": "conda-clang-debug" | ||
} | ||
], | ||
"version": 2 | ||
} |