Cmake: Cross generate build systems from Linux possible? -


is possible generate build systems on 1 platform using cmake? example, , case i'm interested in, possible generate set of visual studio solution files, or mingw32-make makefiles, or nmake files, project linux?

the intention make analogous make dist target produces in automake. however, don't need as make dist does, i.e. want generate solution files though i'd run cmake in windows.

users can build package using created build system on own machines.

if possible, how do it? cmake doesn’t report windows based generators being available on linux.

after further research believe answer question no. reason makefiles , solution files etc. produced cmake depend on cmake itself, path hard-coded files.

one solution windows might bundle cmake executable files , replace definition of cmake_command (for instance) added makefiles path bundled version of cmake somehow. suggestion though, haven't tried or researched much. if do, please post process comment or answer here.


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -