kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #06437
Re: FindwxWidgets.cmake
-
To:
KiCad Developers <kicad-developers@xxxxxxxxxxxxxxxxxxx>
-
From:
Dick Hollenbeck <dick@xxxxxxxxxxx>
-
Date:
Wed, 06 Apr 2011 23:02:24 -0500
-
In-reply-to:
<BANLkTinPQVcw6T=rZEAVzrgXgATGs4oSnQ@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8
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