← Back to team overview

kicad-developers team mailing list archive

Re: FindwxWidgets.cmake

 

On 7 April 2011 05:02, Dick Hollenbeck <dick@xxxxxxxxxxx> wrote:
> 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.


Ah interesting, I didn't see this scripting option. That might make it
all possible then as that is how it really needs to be done, then we
can download mingw-get and run it to install mingw.

I will look into this tonight. Thanks!

Best Regards,

Brian.



References