CMakeSettings.json 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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. "remoteMachineName": "${defaultRemoteMachineName}",
  87. "remoteCMakeListsRoot": "$HOME/.vs/${projectDirName}/${workspaceHash}/src",
  88. "remoteBuildRoot": "$HOME/.vs/${projectDirName}/${workspaceHash}/out/build/${name}",
  89. "remoteInstallRoot": "$HOME/.vs/${projectDirName}/${workspaceHash}/out/install/${name}",
  90. "remoteCopySources": true,
  91. "rsyncCommandArgs": "-t --delete --delete-excluded --exclude \"/build\" --exclude \"/out\" --exclude-from=.gitignore",
  92. "remoteCopyBuildOutput": false,
  93. "remoteCopySourcesMethod": "rsync",
  94. "addressSanitizerRuntimeFlags": "detect_leaks=0"
  95. }
  96. ]
  97. }