CMakeSettings.json 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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. "variables": []
  42. },
  43. {
  44. "name": "ARM64-GCC-Debug",
  45. "generator": "Unix Makefiles",
  46. "configurationType": "Debug",
  47. "cmakeExecutable": "cmake",
  48. "remoteCopySourcesExclusionList": [ ".vs", ".git", "out" ],
  49. "cmakeCommandArgs": "-D BUILD_TESTING=ON -D WITH_CI_NUMBER=OFF -D SIMULATE_ON=OFF -D BUILD_DEVADAPTER=ON",
  50. "buildCommandArgs": "",
  51. "ctestCommandArgs": "--output-on-failure",
  52. "inheritEnvironments": [ "linux_arm" ],
  53. "remoteMachineName": "-2043786594;192.168.31.142 (username=liaogf, port=22, authentication=Password)",
  54. "remoteCMakeListsRoot": "$HOME/.vs/${projectDirName}/${workspaceHash}/src",
  55. "remoteBuildRoot": "$HOME/.vs/${projectDirName}/${workspaceHash}/out/build/${name}",
  56. "remoteInstallRoot": "$HOME/.vs/${projectDirName}/${workspaceHash}/out/install/${name}",
  57. "remoteCopySources": true,
  58. "rsyncCommandArgs": "-t --delete --delete-excluded --exclude \"/build\" --exclude \"/out\" --exclude-from=.gitignore",
  59. "remoteCopyBuildOutput": false,
  60. "remoteCopySourcesMethod": "rsync",
  61. "addressSanitizerRuntimeFlags": "detect_leaks=0",
  62. "variables": [
  63. {
  64. "name": "SIMULATE_ON",
  65. "value": "False",
  66. "type": "BOOL"
  67. }
  68. ]
  69. },
  70. {
  71. "name": "ARM64-GCC-Release",
  72. "generator": "Unix Makefiles",
  73. "configurationType": "Release",
  74. "cmakeExecutable": "cmake",
  75. "remoteCopySourcesExclusionList": [ ".vs", ".git", "out" ],
  76. "cmakeCommandArgs": "-D BUILD_TESTING=ON",
  77. "buildCommandArgs": "",
  78. "ctestCommandArgs": "--output-on-failure",
  79. "inheritEnvironments": [ "linux_arm" ],
  80. "variables": [
  81. {
  82. "name": "SIMULATE_ON",
  83. "value": "False",
  84. "type": "BOOL"
  85. }
  86. ],
  87. "remoteMachineName": "-2043786594;192.168.31.142 (username=liaogf, port=22, authentication=Password)",
  88. "remoteCMakeListsRoot": "$HOME/.vs/${projectDirName}/${workspaceHash}/src",
  89. "remoteBuildRoot": "$HOME/.vs/${projectDirName}/${workspaceHash}/out/build/${name}",
  90. "remoteInstallRoot": "$HOME/.vs/${projectDirName}/${workspaceHash}/out/install/${name}",
  91. "remoteCopySources": true,
  92. "rsyncCommandArgs": "-t --delete --delete-excluded --exclude \"/build\" --exclude \"/out\" --exclude-from=.gitignore",
  93. "remoteCopyBuildOutput": false,
  94. "remoteCopySourcesMethod": "rsync",
  95. "addressSanitizerRuntimeFlags": "detect_leaks=0"
  96. }
  97. ]
  98. }