CMakeSettings.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. {
  2. "configurations": [
  3. {
  4. "name": "x86-Debug",
  5. "generator": "Visual Studio 16 2019",
  6. "configurationType": "Debug",
  7. "buildRoot": "${projectDir}\\out\\build\\${name}",
  8. "installRoot": "${projectDir}\\out\\install\\${name}",
  9. "cmakeCommandArgs": "-D BUILD_TESTING=ON -D BUILD_DEVADAPTER=ON",
  10. "buildCommandArgs": "",
  11. "ctestCommandArgs": "-C Debug",
  12. "inheritEnvironments": [ "msvc_x86" ],
  13. "variables": [
  14. {
  15. "name": "SIMULATE_ON",
  16. "value": "False",
  17. "type": "BOOL"
  18. },
  19. {
  20. "name": "BUILD_DEVADAPTER",
  21. "value": "True",
  22. "type": "BOOL"
  23. },
  24. {
  25. "name": "BUILD_SAMPLES",
  26. "value": "False",
  27. "type": "BOOL"
  28. }
  29. ]
  30. },
  31. {
  32. "name": "x86-Release",
  33. "generator": "Visual Studio 16 2019",
  34. "configurationType": "Release",
  35. "buildRoot": "${projectDir}\\out\\build\\${name}",
  36. "installRoot": "${projectDir}\\out\\install\\${name}",
  37. "cmakeCommandArgs": "-D BUILD_TESTING=OFF",
  38. "buildCommandArgs": "",
  39. "ctestCommandArgs": "-C Release",
  40. "inheritEnvironments": [ "msvc_x86" ]
  41. },
  42. {
  43. "name": "ARM64-GCC-Debug",
  44. "generator": "Unix Makefiles",
  45. "configurationType": "Debug",
  46. "cmakeExecutable": "cmake",
  47. "remoteCopySourcesExclusionList": [ ".vs", ".git", "out" ],
  48. "cmakeCommandArgs": "-D BUILD_TESTING=OFF -D WITH_CI_NUMBER=OFF -D SIMULATE_ON=OFF -D BUILD_DEVADAPTER=ON",
  49. "buildCommandArgs": "",
  50. "ctestCommandArgs": "--output-on-failure",
  51. "inheritEnvironments": [ "linux_arm" ],
  52. "remoteMachineName": "${defaultRemoteMachineName}",
  53. "remoteCMakeListsRoot": "$HOME/.vs/${projectDirName}/${workspaceHash}/src",
  54. "remoteBuildRoot": "$HOME/.vs/${projectDirName}/${workspaceHash}/out/build/${name}",
  55. "remoteInstallRoot": "$HOME/.vs/${projectDirName}/${workspaceHash}/out/install/${name}",
  56. "remoteCopySources": true,
  57. "rsyncCommandArgs": "-t --delete --delete-excluded --exclude \"/build\" --exclude \"/out\" --exclude-from=.gitignore",
  58. "remoteCopyBuildOutput": false,
  59. "remoteCopySourcesMethod": "rsync",
  60. "addressSanitizerRuntimeFlags": "detect_leaks=0",
  61. "variables": [
  62. {
  63. "name": "SIMULATE_ON",
  64. "value": "False",
  65. "type": "BOOL"
  66. }
  67. ]
  68. },
  69. {
  70. "name": "ARM64-GCC-Release",
  71. "generator": "Unix Makefiles",
  72. "configurationType": "Release",
  73. "cmakeExecutable": "cmake",
  74. "remoteCopySourcesExclusionList": [ ".vs", ".git", "out" ],
  75. "cmakeCommandArgs": "-D BUILD_TESTING=OFF",
  76. "buildCommandArgs": "",
  77. "ctestCommandArgs": "--output-on-failure",
  78. "inheritEnvironments": [ "linux_arm" ],
  79. "variables": [
  80. {
  81. "name": "SIMULATE_ON",
  82. "value": "False",
  83. "type": "BOOL"
  84. },
  85. {
  86. "name": "DEVOPS_INSTALL_SWITCH",
  87. "value": "False",
  88. "type": "BOOL"
  89. }
  90. ],
  91. "remoteMachineName": "${defaultRemoteMachineName}",
  92. "remoteCMakeListsRoot": "$HOME/.vs/${projectDirName}/${workspaceHash}/src",
  93. "remoteBuildRoot": "$HOME/.vs/${projectDirName}/${workspaceHash}/out/build/${name}",
  94. "remoteInstallRoot": "$HOME/.vs/${projectDirName}/${workspaceHash}/out/install/${name}",
  95. "remoteCopySources": true,
  96. "rsyncCommandArgs": "-t --delete --delete-excluded --exclude \"/build\" --exclude \"/out\" --exclude-from=.gitignore",
  97. "remoteCopyBuildOutput": false,
  98. "remoteCopySourcesMethod": "rsync",
  99. "addressSanitizerRuntimeFlags": "detect_leaks=0"
  100. }
  101. ]
  102. }