On 2017-11-07 07:14-0500 Brad King wrote:

On 11/06/2017 05:24 PM, Alan W. Irwin wrote:
https://open.cdash.org/viewTest.php?onlypassed&buildid=5131552
Is there something I have missed in those results or something wrong?

Your script now has:

```
set(dashboard_cache "
...
# Do build of PLplot as a ctest of CMake.
set(CMake_TEST_CONTRACT_PLplot:BOOL=ON)
...
")
```

but it should be:

```
set(dashboard_cache "
...
// Do build of PLplot as a test of CMake.
CMake_TEST_CONTRACT_PLplot:BOOL=ON
...
")
```

<aside>
Why could I set garbage in the cache
file as above with the result that that garbage was read
and ignored with no error message?  Isn't that a CMake bug?
</aside>

Your suggested change above does work, but the default PLplot
configuration only enables part of the potential configure, build, and install
tests.  Therefore, to remove that limitation on this test, I would like to set 
the
following CMake options in the PLplot configure step:

-DBUILD_TEST:BOOL=ON -DBUILD_DOC=ON -DBUILD_DOX_DOC=ON

(to build additional PLplot examples in the build tree, to build the
DocBook documentation, and to build the Doxygen documentation.)

I tried

set(dashboard_cache "
...
CMake_TEST_CONTRACT_PLplot_CMAKE_ARGS:STRING=-DBUILD_TEST=ON -DBUILD_DOC=ON 
-DBUILD_DOX_DOC=ON
...
)

and that partially works:  The relevant PLplot CMakeCache.txt file
includes the line

BUILD_TEST=ON -DBUILD_DOC=ON -DBUILD_DOX_DOC=ON

From the results, the first part of that line is
accepted and the rest ignored (rather than erroring out, see aside
above).  So what syntax do I have to use to set

BUILD_TEST=ON
BUILD_DOC=ON
BUILD_DOX_DOC=ON

on separate lines in the PLplot CMakeCache.txt file?

Finally, how can I change the default tag currently used
("plplot-5.13.0") for checking out PLplot?

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
__________________________
--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to