← Back to team overview

kicad-developers team mailing list archive

Re: FindwxWidgets.cmake

 

On 04/06/2011 07:52 PM, Dick Hollenbeck wrote:
> Remember the script mode of cmake using -p

I don't know if this is helpful, but more brainstorming to get around the
lack of initial MinGW:


$ cmake -P somecmakemagic.cmake

and then there is the potential usage of


file(DOWNLOAD url file [TIMEOUT timeout] [STATUS status] [LOG log]
       [EXPECTED_MD5 sum] [SHOW_PROGRESS])


which can be invoked in script mode I believe.  Then

cmake's "execute_process" can all be called from somecmakemagic.cmake.




So maybe start by downloading anything needed from gnuwin32, using

file( DOWNLOAD url )

then execute_process to install them.

Then you are armed and dangerous maybe?

Maybe switch out of script mode at some point.






Follow ups

References