mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-07 22:02:32 -04:00
Merge pull request #1562 from G10h4ck/build_refinement
Little improvements in build system
This commit is contained in:
commit
533ceed549
2 changed files with 9 additions and 11 deletions
|
@ -846,14 +846,14 @@ rs_jsonapi {
|
|||
genrestbedlib.variable_out = PRE_TARGETDEPS
|
||||
genrestbedlib.commands = \
|
||||
cd $${RS_SRC_PATH} && ( \
|
||||
git submodule update --init --recommend-shallow supportlibs/restbed ; \
|
||||
git submodule update --init supportlibs/restbed ; \
|
||||
cd $${RESTBED_SRC_PATH} ; \
|
||||
git submodule update --init --recommend-shallow dependency/asio ; \
|
||||
git submodule update --init --recommend-shallow dependency/catch ; \
|
||||
git submodule update --init --recommend-shallow dependency/kashmir ; \
|
||||
git submodule update --init dependency/asio ; \
|
||||
git submodule update --init dependency/catch ; \
|
||||
git submodule update --init dependency/kashmir ; \
|
||||
true ) && \
|
||||
mkdir -p $${RESTBED_BUILD_PATH} && cd $${RESTBED_BUILD_PATH} && \
|
||||
cmake -DCMAKE_C_COMPILER=$$fixQmakeCC($$QMAKE_CC) \
|
||||
cmake \
|
||||
-DCMAKE_CXX_COMPILER=$$QMAKE_CXX \
|
||||
$${CMAKE_GENERATOR_OVERRIDE} -DBUILD_SSL=OFF \
|
||||
-DCMAKE_INSTALL_PREFIX=. -B. \
|
||||
|
@ -919,7 +919,7 @@ rs_broadcast_discovery {
|
|||
udpdiscoverycpplib.variable_out = PRE_TARGETDEPS
|
||||
udpdiscoverycpplib.commands = \
|
||||
cd $${RS_SRC_PATH} && ( \
|
||||
git submodule update --init --recommend-shallow supportlibs/udp-discovery-cpp || \
|
||||
git submodule update --init supportlibs/udp-discovery-cpp || \
|
||||
true ) && \
|
||||
mkdir -p $${UDP_DISCOVERY_BUILD_PATH} && \
|
||||
cd $${UDP_DISCOVERY_BUILD_PATH} && \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue