fix(Makefile): Move StatusQ to order-only-dependencies of the app (#10351)

This commit is contained in:
Igor Sirotin 2023-04-18 19:14:00 +03:00 committed by GitHub
parent cacca6ff31
commit ac9069aae6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -264,7 +264,7 @@ $(STATUSQ_CMAKE_CACHE): | deps
-DSTATUSQ_BUILD_TESTS=OFF \ -DSTATUSQ_BUILD_TESTS=OFF \
$(STATUSQ_CMAKE_CONFIG_PARAMS) \ $(STATUSQ_CMAKE_CONFIG_PARAMS) \
-B $(STATUSQ_BUILD_PATH) \ -B $(STATUSQ_BUILD_PATH) \
-S ui/StatusQ -S ui/StatusQ \
$(HANDLE_OUTPUT) $(HANDLE_OUTPUT)
statusq-configure: | $(STATUSQ_CMAKE_CACHE) statusq-configure: | $(STATUSQ_CMAKE_CACHE)
@ -459,7 +459,7 @@ else
endif endif
$(NIM_STATUS_CLIENT): NIM_PARAMS += $(RESOURCES_LAYOUT) $(NIM_STATUS_CLIENT): NIM_PARAMS += $(RESOURCES_LAYOUT)
$(NIM_STATUS_CLIENT): $(NIM_SOURCES) statusq $(DOTHERSIDE) | check-qt-dir $(STATUSGO) $(STATUSKEYCARDGO) $(QRCODEGEN) $(FLEETS) rcc compile-translations deps $(NIM_STATUS_CLIENT): $(NIM_SOURCES) $(DOTHERSIDE) | statusq check-qt-dir $(STATUSGO) $(STATUSKEYCARDGO) $(QRCODEGEN) $(FLEETS) rcc compile-translations deps
echo -e $(BUILD_MSG) "$@" && \ echo -e $(BUILD_MSG) "$@" && \
$(ENV_SCRIPT) nim c $(NIM_PARAMS) --passL:"-L$(STATUSGO_LIBDIR)" --passL:"-lstatus" --passL:"-L$(STATUSKEYCARDGO_LIBDIR)" --passL:"-lkeycard" $(NIM_EXTRA_PARAMS) --passL:"$(QRCODEGEN)" --passL:"-lm" src/nim_status_client.nim && \ $(ENV_SCRIPT) nim c $(NIM_PARAMS) --passL:"-L$(STATUSGO_LIBDIR)" --passL:"-lstatus" --passL:"-L$(STATUSKEYCARDGO_LIBDIR)" --passL:"-lkeycard" $(NIM_EXTRA_PARAMS) --passL:"$(QRCODEGEN)" --passL:"-lm" src/nim_status_client.nim && \
[[ $$? = 0 ]] && \ [[ $$? = 0 ]] && \