mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-27 16:35:21 -04:00
Merge pull request #2009 from hunbernd/feature/msys2enhancements
Reworked msys2 build scripts
This commit is contained in:
commit
9587cfd4d9
47 changed files with 2940 additions and 167 deletions
|
@ -59,7 +59,7 @@ rs_gui_cmark {
|
|||
|
||||
DUMMYCMARKINPUT = FORCE
|
||||
CMAKE_GENERATOR_OVERRIDE=""
|
||||
win32-g++:CMAKE_GENERATOR_OVERRIDE="-G \"MSYS Makefiles\""
|
||||
win32-g++|win32-clang-g++:CMAKE_GENERATOR_OVERRIDE="-G \"MSYS Makefiles\""
|
||||
gencmarklib.name = Generating libcmark.
|
||||
gencmarklib.input = DUMMYCMARKINPUT
|
||||
gencmarklib.output = $$clean_path($${CMARK_BUILD_PATH}/src/libcmark.a)
|
||||
|
@ -73,6 +73,7 @@ rs_gui_cmark {
|
|||
mkdir -p $${CMARK_BUILD_PATH} && cd $${CMARK_BUILD_PATH} && \
|
||||
cmake \
|
||||
-DCMAKE_CXX_COMPILER=$$QMAKE_CXX \
|
||||
\"-DCMAKE_CXX_FLAGS=$${QMAKE_CXXFLAGS}\" \
|
||||
$${CMAKE_GENERATOR_OVERRIDE} \
|
||||
-DCMAKE_INSTALL_PREFIX=. \
|
||||
-B. \
|
||||
|
@ -209,7 +210,7 @@ win32-x-g++ {
|
|||
|
||||
#################################### Windows #####################################
|
||||
|
||||
win32-g++ {
|
||||
win32-g++|win32-clang-g++ {
|
||||
CONFIG(debug, debug|release) {
|
||||
# show console output
|
||||
CONFIG += console
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue