Re: mingw packaging: equivalent of %cmake_build, %cmake_install macros?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 29.01.24 10:38 PM, Eric Smith wrote:
On Mon, Jan 29, 2024, 02:32 Sandro Mani <manisandro@xxxxxxxxx> wrote:

For mingw, the most common approach is

%build
%mingw_cmake
%mingw_make_build

%install
%mingw_make_install
# Don't forget this one
%mingw_debug_install_post

Thank you, but as I said in my request, that is exactly what I already tried. It worked fine for pugixml and zipios, but failed for fmt.

In the fmt.spec you posted, I see

%mingw_cmake -G Ninja  [...]

this means that you are generating ninja build scripts, not Makefiles. If you want to use ninja, you should call

%mingw_ninja

after %mingw_cmake -G Ninja.

To generate Makefiles, call

%mingw_cmake

without the -G Ninja, and after this

%mingw_make_build


Sandro

--
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux