On 2013-07-09 14:49-0700 Alan W. Irwin wrote:

> From now on the variable WIN32 should not be used in our build system
> code except under extraordinary circumstances which are currently.
>
> software@raven> find -name CMakeLists.txt -o -name "*.cmake" | \
> grep -v build_projects |xargs grep '[^_]WIN32[^_]'
> ./cmake/modules/summary.cmake:WIN32:                    ${WIN32}
> ./examples/c++/CMakeLists.txt:    add_executable(wxPLplotDemo WIN32
> wxPLplotDemo.cpp)
> ./CMakeLists.txt:# Force CMake to _NOT_ define 'WIN32' on Cygwin
> ./CMakeLists.txt:set(WIN32_AND_NOT_CYGWIN ${WIN32})
> ./CMakeLists.txt:if(WIN32 OR CYGWIN)
> ./CMakeLists.txt:else(WIN32 OR CYGWIN)
> ./CMakeLists.txt:endif(WIN32 OR CYGWIN)
> ./CMakeLists.txt:if(BUILD_SHARED_LIBS AND WIN32)
> ./CMakeLists.txt:endif(BUILD_SHARED_LIBS AND WIN32)
> ./CMakeLists.txt:if(WIN32)
> ./CMakeLists.txt:else(WIN32)
> ./CMakeLists.txt:endif(WIN32)
>
> Instead, the variables WIN32_AND_NOT_CYGWIN, WIN32_OR_CYGWIN, or
> CYGWIN should be used as appropriate.

Actually, the last 5 lines of the above listing are logically correct
(since WIN32 is now equivalent to WIN32_AND_NOT_CYGWIN), but I have
changed them as of revision 12413 to WIN32_AND_NOT_CYGWIN to reduce
ambiguity.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to