b-com-software-basis / builddefs-qmake

QMake build script tools to manage cross platform project building and dependencies in development projects (also manages nsis installer, mac bundling...). Aims at providing Maven like dependencies management to C/C++ builds.
2 stars 4 forks source link

[Win][g++] Remaken rules .pri files not found with qmake -spec win32-g++ #11

Open jim-bcom opened 1 year ago

jim-bcom commented 1 year ago

HOW TO REPRODUCE

EXPECTED BEHAVIOR

OBSERVED BEHAVIOR

jom 1.1.3 - empower your cores

    C:\Qt\Tools\QtCreator\bin\jom.exe -f Makefile.Release
    g++ -c -fno-keep-inline-dllexport -O2 -std=gnu++1z -Wall -Wextra -Wextra -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DMYVERSION=0.11.0 -DTEMPLATE_LIBRARY -D_NDEBUG=1 -DNDEBUG=1 -DQT_NEEDS_QMAIN -IC:/Users/user/tmp/SolARFramework -I. -IC:/Users/user/tmp/SolARFramework/interfaces -IC:/Qt/5.14.2/msvc2017_64/mkspecs/win32-g++ -o release/Log.o C:/Users/user/tmp/SolARFramework/src/core/Log.cpp

In file included from C:/Users/user/tmp/SolARFramework/src/core/Log.cpp:1: C:/Users/user/tmp/SolARFramework/interfaces/core/Log.h:7:10: fatal error: spdlog.h: No such file or directory

include "spdlog.h"

      ^~~~~~~~~~

compilation terminated.



OS: Windows 10
Remaken version: 1.9.2
BD/Qmake version: 4.9.3
stefled commented 11 months ago

reproduced with :

BD/Qmake needs to manage gcc/g++ and not only msvc. Remaken tool potentially also needs to be updated to handle gcc/g++ on Windows

stefled commented 11 months ago

a fix was added to differentiate with the win32-msvc case

will be available in a next release