build: Build cmake presets in distinct binary dirs
It may use more disk space, but we really don't have a choice. CMake projects with different parameters, preprocessors, source files, etc. are not designed to share binary dirs. For example, the libspark.so file that the Spark front-end is supposed to use is not necessarily the same as the libspark.so file the Api Server is supposed use.
This commit is contained in:
1 parent
4d4b0b7ae3
commit
8c99147f04
1 file changed
+1
-1
+1
-1
@@ -15,7 +15,7 @@
|
||||
"rhs": "Windows"
|
||||
},
|
||||
"generator": "Visual Studio 17 2022",
|
||||
"binaryDir": "${sourceDir}/build",
|
||||
"binaryDir": "${sourceDir}/build/${presetName}",
|
||||
"environment": {
|
||||
"SPARK_CMAKE_CXX_FLAGS": "/MP /WX /wd4250 /wd4251 /wd4244 /wd4267 /wd4355 /wd4275 /wd4345 /bigobj /EHsc /DCURL_STATICLIB /D_WINSOCK_DEPRECATED_NO_WARNINGS /D__TBB_NO_IMPLICIT_LINKAGE /DBOOST_ALL_NO_LIB /std:c++20 /D_SCL_SECURE_NO_WARNINGS /D_CRT_SECURE_NO_WARNINGS /D_WIN32_WINNT=0x0600"
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user