Skip to content

Need a Cross compile example #163

@staticmem

Description

@staticmem

I'm ok with .configure scripts from the older releases and while I can build the current zziplib using Cmake to create a Makefile and then using the traditional make command for the current host I don't know what I need to do to cross compile with Cmake.

Do I have to edit the CMakeLists.txt file every time the target changes and if so what needs to change?

I would like one simple example. Let's say I want to use "x86_64-w64-mingw32" to create a Windows build. I have a location in /opt to place the target files.

How would I go about this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions