@@ -53,14 +53,14 @@ config = { cmd = """
53
53
-S . \
54
54
-B build \
55
55
-DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX \
56
- -DCMAKE_BUILD_TYPE=Release \
57
- -DDART_VERBOSE=$DART_VERBOSE \
56
+ -DCMAKE_BUILD_TYPE=$BUILD_TYPE \
57
+ -DDART_VERBOSE=$VERBOSE \
58
58
-DDART_USE_SYSTEM_IMGUI=ON \
59
59
-DCMAKE_PREFIX_PATH=$CONDA_PREFIX \
60
60
-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \
61
61
-DCMAKE_INSTALL_RPATH=$CONDA_PREFIX/lib \
62
62
-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=ON
63
- """ , env = { DART_VERBOSE = " ON " } }
63
+ """ , env = { VERBOSE = " OFF " , BUILD_TYPE = " Release " } }
64
64
65
65
lint-cpp = { cmd = " cmake --build build --target format" , depends_on = [
66
66
" config" ,
@@ -196,11 +196,11 @@ config = { cmd = """
196
196
-B build \
197
197
-G 'Visual Studio 17 2022' \
198
198
-DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX \
199
- -DDART_VERBOSE=ON \
199
+ -DDART_VERBOSE=$DART_VERBOSE \
200
200
-DDART_MSVC_DEFAULT_OPTIONS=ON \
201
201
-DBUILD_SHARED_LIBS=OFF \
202
202
-DDART_USE_SYSTEM_IMGUI=ON
203
- """ }
203
+ """ , env = { DART_VERBOSE = " OFF " } }
204
204
lint-py = { cmd = " black . --exclude '\\ ..*' && isort . --skip-glob '.*'" , depends_on = [
205
205
" config" ,
206
206
] }
@@ -210,51 +210,51 @@ check-lint-py = { cmd = "black . --check --exclude '\\..*' && isort . --check --
210
210
] }
211
211
check-lint = { depends_on = [" check-lint-py" ] }
212
212
213
- build = { cmd = " cmake --build build --config Release -j" , depends_on = [
213
+ build = { cmd = " cmake --build build --config $BUILD_TYPE -j" , depends_on = [
214
214
" config" ,
215
- ] }
216
- build-tests = { cmd = " cmake --build build --config Release -j --target tests" , depends_on = [
215
+ ], env = { BUILD_TYPE = " OFF " } }
216
+ build-tests = { cmd = " cmake --build build --config $BUILD_TYPE -j --target tests" , depends_on = [
217
217
" config" ,
218
- ] }
218
+ ], env = { BUILD_TYPE = " OFF " } }
219
219
build-dartpy = { cmd = " cmake --build build -j --target dartpy" , depends_on = [
220
220
" config" ,
221
221
] }
222
222
223
- test = { cmd = " ctest --test-dir build --build-config Release --output-on-failure" , depends_on = [
223
+ test = { cmd = " ctest --test-dir build --build-config $BUILD_TYPE --output-on-failure" , depends_on = [
224
224
" build-tests" ,
225
- ] }
226
- test-dartpy = { cmd = " cmake --build build --config Release -j --target pytest" , depends_on = [
225
+ ], env = { BUILD_TYPE = " OFF " } }
226
+ test-dartpy = { cmd = " cmake --build build --config $BUILD_TYPE -j --target pytest" , depends_on = [
227
227
" config" ,
228
- ] }
229
- test-all = { cmd = " cmake --build build --config Release -j --target ALL" , depends_on = [
228
+ ], env = { BUILD_TYPE = " OFF " } }
229
+ test-all = { cmd = " cmake --build build --config $BUILD_TYPE -j --target ALL" , depends_on = [
230
230
" config" ,
231
- ] }
231
+ ], env = { BUILD_TYPE = " OFF " } }
232
232
233
- tu-biped = { cmd = " cmake --build build --config Release --target tutorial_biped --parallel && build/Release /tutorial_biped.exe" , depends_on = [
233
+ tu-biped = { cmd = " cmake --build build --config $BUILD_TYPE --target tutorial_biped --parallel && build/$BUILD_TYPE /tutorial_biped.exe" , depends_on = [
234
234
" config" ,
235
- ] }
236
- tu-biped-fi = { cmd = " cmake --build build --config Release --target tutorial_biped_finished --parallel && build/Release /tutorial_biped_finished.exe" , depends_on = [
235
+ ], env = { BUILD_TYPE = " OFF " } }
236
+ tu-biped-fi = { cmd = " cmake --build build --config $BUILD_TYPE --target tutorial_biped_finished --parallel && build/$BUILD_TYPE /tutorial_biped_finished.exe" , depends_on = [
237
237
" config" ,
238
- ] }
239
- tu-collisions = { cmd = " cmake --build build --config Release --target tutorial_collisions --parallel && build/Release /tutorial_collisions.exe" , depends_on = [
238
+ ], env = { BUILD_TYPE = " OFF " } }
239
+ tu-collisions = { cmd = " cmake --build build --config $BUILD_TYPE --target tutorial_collisions --parallel && build/$BUILD_TYPE /tutorial_collisions.exe" , depends_on = [
240
240
" config" ,
241
- ] }
242
- tu-collisions-fi = { cmd = " cmake --build build --config Release --target tutorial_collisions_finished --parallel && build/Release /tutorial_collisions_finished.exe" , depends_on = [
241
+ ], env = { BUILD_TYPE = " OFF " } }
242
+ tu-collisions-fi = { cmd = " cmake --build build --config $BUILD_TYPE --target tutorial_collisions_finished --parallel && build/$BUILD_TYPE /tutorial_collisions_finished.exe" , depends_on = [
243
243
" config" ,
244
- ] }
245
- tu-dominoes = { cmd = " cmake --build build --config Release --target tutorial_dominoes --parallel && build/Release /tutorial_dominoes.exe" , depends_on = [
244
+ ], env = { BUILD_TYPE = " OFF " } }
245
+ tu-dominoes = { cmd = " cmake --build build --config $BUILD_TYPE --target tutorial_dominoes --parallel && build/$BUILD_TYPE /tutorial_dominoes.exe" , depends_on = [
246
246
" config" ,
247
- ] }
248
- tu-dominoes-fi = { cmd = " cmake --build build --config Release --target tutorial_dominoes_finished --parallel && build/Release /tutorial_dominoes_finished.exe" , depends_on = [
247
+ ], env = { BUILD_TYPE = " OFF " } }
248
+ tu-dominoes-fi = { cmd = " cmake --build build --config $BUILD_TYPE --target tutorial_dominoes_finished --parallel && build/$BUILD_TYPE /tutorial_dominoes_finished.exe" , depends_on = [
249
249
" config" ,
250
- ] }
251
- tu-multi-pendulum = { cmd = " cmake --build build --config Release --target tutorial_multi_pendulum --parallel && build/Release /tutorial_multi_pendulum.exe" , depends_on = [
250
+ ], env = { BUILD_TYPE = " OFF " } }
251
+ tu-multi-pendulum = { cmd = " cmake --build build --config $BUILD_TYPE --target tutorial_multi_pendulum --parallel && build/$BUILD_TYPE /tutorial_multi_pendulum.exe" , depends_on = [
252
252
" config" ,
253
- ] }
254
- tu-multi-pendulum-fi = { cmd = " cmake --build build --config Release --target tutorial_multi_pendulum_finished --parallel && build/Release /tutorial_multi_pendulum_finished.exe" , depends_on = [
253
+ ], env = { BUILD_TYPE = " OFF " } }
254
+ tu-multi-pendulum-fi = { cmd = " cmake --build build --config $BUILD_TYPE --target tutorial_multi_pendulum_finished --parallel && build/$BUILD_TYPE /tutorial_multi_pendulum_finished.exe" , depends_on = [
255
255
" config" ,
256
- ] }
256
+ ], env = { BUILD_TYPE = " OFF " } }
257
257
258
- install = { cmd = " cmake --build build --config Release -j --target install" , depends_on = [
258
+ install = { cmd = " cmake --build build --config $BUILD_TYPE -j --target install" , depends_on = [
259
259
" build" ,
260
- ] }
260
+ ], env = { BUILD_TYPE = " OFF " } }
0 commit comments