On 2013-12-14 10:58-0800 phil rosenberg wrote:
> Hi Alan
> Just to confirm, the nmake build seems to be fine. It has reached
example 17 as I am writing this with no link errors, so the -L+
problem doesn't exist for this generator.
Hi Phil:
I am putting this back on list because I think others will be
interested in your results.
[quoted from your previous post]
> Again related to 64 bit builds - It seems that the VC++ x86 Command
line must be used even for 64 bit builds.
Is this issue gone as well for nmake? If so, it should be written
up as a VS2012 bug.
I bet the further issue you found indirectly (completely neglecting
to set the CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES variables) is gone
as well, but to prove that you would have to set up a simple test project, e.g.,
cmake_minimum_required(VERSION 2.8.12.1 FATAL_ERROR)
project(test_c_variable C CXX Fortran)
message(STATUS "CMAKE_C_IMPLICIT_LINK_DIRECTORIES =
${CMAKE_C_IMPLICIT_LINK_DIRECTORIES}")
message(STATUS "CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES =
${CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES}")
message(STATUS "CMAKE_Fortran_IMPLICIT_LINK_DIRECTORIES =
${CMAKE_Fortran_IMPLICIT_LINK_DIRECTORIES}")
The results here (on Linux) for that test are
-- CMAKE_C_IMPLICIT_LINK_DIRECTORIES =
/usr/lib/gcc/x86_64-linux-gnu/4.7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib
-- CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES =
/usr/lib/gcc/x86_64-linux-gnu/4.7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib
-- CMAKE_Fortran_IMPLICIT_LINK_DIRECTORIES =
/usr/lib/gcc/x86_64-linux-gnu/4.7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib
Drop Fortran from the above test if you don't have that compiler.
The cmake documentation of CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES
implies these variables should be present for every enabled language
and every generator. But the case becomes even stronger (and worth a
bug report for the VS2012 case) if they are present for nmake, but not
for VS2012.
How are you doing the testing you referred to above? Do you have MSYS
(including bash.exe) installed so that ctest and also the
test_noninteractive and test_interactive targets work on Windows or is
this some other testing scheme you have set up?
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
__________________________
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel