Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to use src/cmake.mk ? #824

Closed
starius opened this issue Sep 3, 2015 · 2 comments
Closed

how to use src/cmake.mk ? #824

starius opened this issue Sep 3, 2015 · 2 comments

Comments

@starius
Copy link
Member

starius commented Sep 3, 2015

cmake.mk seems to be a native cmake.

  1. Why is it needed? Native cmake is already a dependency of MXE.
  2. What means "optional" (bfe1525 and 8ff8097). How to build it?
@tonytheodore
Copy link
Member

It's mostly (only?) used on OSX to provide a buffer between the update frequency of MacPorts/Homebrew/OSX/Xcode and Debian stable. Using a known toolchain helps greatly when trying to isolate build breakages.

It's optional since it won't be built by default - still experimental in the sense that it's a works-for-me workaround for the larger issue of cross-platform support.

To build native cmake alone:

make cmake MXE_TARGETS=`./ext/config.guess`

to build all the optional native tools:

make build-requirements

and to make them available in your current session:

export PATH=`pwd`/usr/`ext/config.guess`/bin:$PATH
# or
source tools/mxe-activate

@starius
Copy link
Member Author

starius commented Sep 3, 2015

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants