Skip to content

Commit

Permalink
Add codespace specific files
Browse files Browse the repository at this point in the history
  • Loading branch information
franziska-wegner committed Jan 5, 2024
1 parent 0acf774 commit 3ad6de6
Show file tree
Hide file tree
Showing 2 changed files with 94 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [

]
}
85 changes: 85 additions & 0 deletions CMakePresets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
{
"version": 3,
"configurePresets": [
{
"name": "base",
"hidden": true,
"generator": "Unix Makefiles",
// "binaryDir": "${workspaceRoot}/out",
"cacheVariables": {
// "CMAKE_INSTALL_PREFIX": "${workspaceRoot}/out/install/${presetName}"
"Boost_NO_SYSTEM_PATHS": "TRUE",
"EGOA_DOWNLOAD_CPPAD": "OFF",
"EGOA_DOWNLOAD_EIGEN": "ON",
"EGOA_DOWNLOAD_GOOGLE_TEST_FRAMEWORK": "ON",
"EGOA_DOWNLOAD_IEEE": "ON",
"EGOA_DOWNLOAD_PYPSA_EUR": "ON",
"EGOA_DOWNLOAD_PYPSA_ITI_COLLABORATION": "ON",
"EGOA_DOWNLOAD_SCIGRID": "ON",
"EGOA_DOWNLOAD_WINDFARM": "ON",
"EGOA_ENABLE_ASSERTION": "ON",
"EGOA_ENABLE_BONMIN": "OFF",
"EGOA_ENABLE_BOOST": "OFF",
"EGOA_ENABLE_CPLEX": "OFF",
"EGOA_ENABLE_DOCUMENTATION": "ON",
"EGOA_ENABLE_EXCEPTION_HANDLING": "ON",
"EGOA_ENABLE_GUROBI": "OFF",
"EGOA_ENABLE_IPOPT": "OFF",
"EGOA_ENABLE_OGDF": "OFF",
"EGOA_ENABLE_OPENMP": "OFF",
"EGOA_ENABLE_TESTS": "ON",
"EGOA_ENABLE_VERBOSE_MAKEFILE": "ON",
"EGOA_PEDANTIC_AS_ERRORS": "OFF",
"EGOA_PEDANTIC_MODE": "ON",
"EGOA_TEST_FRAMEWORK": "OfflineGoogleTestFramework",
"EGOA_TEST_FRAMEWORK_LOCATION": "external/GoogleTestFramework",
"EGOA_THREAD_LIMIT": "0",
"EGOA_WARNINGS_AS_ERRORS": "ON",
"BONMIN_ROOT_DIR": "NONE-DIR",
"Boost_DIRECTORIES": "/opt/homebrew/opt/boost/",
"CMAKE_CXX_COMPILER": "/opt/homebrew/opt/llvm/bin/clang++",
"CMAKE_C_COMPILER": "/opt/homebrew/opt/llvm/bin/clang",
"COIN_INCLUDE_DIR": "NONE-DIR",
"COIN_LIBRARY_DIR": "NONE-DIR",
"CPLEX_HOME": "NONE-DIR",
"GUROBI_ROOT_DIR": "NONE-DIR",
"OGDF_AUTOGEN_INCLUDE_DIR": "NONE-DIR",
"OGDF_INCLUDE_DIR": "NONE-DIR",
"OGDF_LIBRARY_DIR": "NONE-DIR",
"OPENMP_INCLUDES": "/opt/homebrew/opt/llvm/include",
"OPENMP_LIBRARIES": "/opt/homebrew/opt/llvm/lib"
}
},
{
"name": "benchmark-base",
"hidden": true,
"cacheVariables": { "VCPKG_BUILD_BENCHMARKING": "On" }
},
{
"name": "debug",
"displayName": "Debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"EGOA_BUILD_TYPE": "Debug"
}
},
{
"name": "release",
"displayName": "Release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"EGOA_BUILD_TYPE": "Release"
}
},
{
"name": "debug-benchmarks",
"displayName": "Debug + Benchmarks",
"inherits": [ "debug", "benchmark-base"]
},
{
"name": "release-benchmarks",
"displayName": "Release + Benchmarks",
"inherits": [ "release", "benchmark-base" ]
}
]
}

0 comments on commit 3ad6de6

Please sign in to comment.