-
Notifications
You must be signed in to change notification settings - Fork 9
IDE configs
jstrzebonski edited this page Jul 14, 2022
·
2 revisions
Sample IDE configuration files.
~/.local/share/CMakeTools/cmake-tools-kits.json
[
{
"name": "Clang (vt)",
"compilers": {
"C": "/usr/bin/clang",
"CXX": "/usr/bin/clang++"
},
"cmakeSettings": {
"vt_asan_enabled": "0",
"vt_build_extended_tests": "1",
"vt_ci_build": "0",
"vt_diagnostics_enabled": "1",
"vt_diagnostics_runtime_enabled": "0",
"vt_doxygen_enabled": "0",
"vt_fcontext_enabled": "1",
"vt_lb_enabled": "1",
"vt_mimalloc_enabled": "0",
"vt_mpi_guards": "1",
"vt_no_color_enabled": "0",
"vt_pool_enabled": "1",
"vt_production_build_enabled": "0",
"vt_test_trace_runtime_enabled": "1",
"vt_trace_enabled": "1",
"vt_trace_only": "1",
"vt_ubsan_enabled": "0",
"vt_unity_build_enabled": "0",
"vt_werror_enabled": "0",
"vt_zoltan_enabled": "0",
"CMAKE_C_COMPILER_LAUNCHER": "ccache",
"CMAKE_CXX_COMPILER_LAUNCHER": "ccache",
"CMAKE_EXPORT_COMPILE_COMMANDS": "1",
"CMAKE_INSTALL_PREFIX": "/home/user/code/vt/build/install",
"MPI_C_COMPILER": "mpicc",
"MPI_CXX_COMPILER": "mpicxx"
},
"environmentVariables": {},
"keep": true
}
]
- Or you can put your configuration locally in the project directory,
.../src/vt/.vscode/settings.json
:
{
...
"cmake.buildDirectory": "/home/user/code/vt-build-path/",
"cmake.configureSettings": {
"checkpoint_DIR": "/home/user/code/checkpoint-install-path",
"detector_DIR": "/home/user/code/detector-install-path",
"MPI_CXX_COMPILER": "mpicxx",
"MPI_C_COMPILER": "mpicc",
"vt_lb_enabled": "1",
"vt_trace_enabled": "1",
"vt_gold_linker_enabled": "0",
...
},
"cmake.installPrefix": "/home/user/code/vt-install-path"
...
}