-----Original Message----- 
From: James Turner
Sent: Monday, October 24, 2011 2:53 PM
To: FlightGear developers discussions
Subject: Re: [Flightgear-devel] CMake, tomorrow (Sunday 23rd)

As you guessed, manually setting the the detection variables 
(SIMGEAR_VERSION_OK, etc) is a bad idea, unless you set *all* the generated 
variables correctly - not impossible, but a lot of work. The error you 
report looks like it's happening because the detection script has got 
confused, but I need to see the arguments / environment passed to CMake, to 
understand why.




James (if you are listening and I am not on your >/dev/null list)

Yes I am well aware that forcing  SIMGEAR_VERSION_OK is bad practice, but in 
lieu of a proper fix it got my build process working.

With the MSVC project build system Windows users have had to generate their 
own "version.h" file from "version.h.in" for some time now, so it was no 
surprise that Cmake had similar problems.

I can send you files from my flightgear/cmake setup if these help. Let me 
know which files you need.

I am still of the impression that Cmake is a backward step for Windows 
users. Perhaps you consider them unimportant, but flightgear is cross 
platform, and Windows is not an insignificant user base.

Previously all that was necessary was to open 
C:\flightgear\flightgear\projects\FlightGear.sln and MSVC did everything - 
building both simgear and flightgear  with one click of the button.

Now it is necessary to set up (and get acquainted with !) Cmake, run Cmake 
generate and Cmake configure, open simgear.sln with MSVC select all-build 
followed by build install, and then repeat the Cmake + MSVC process with 
flightgear.

Rant over. ;)

Alan 


------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to