[CMake] Boost CMake support

2018-10-01 Thread Robert Ramey
Boost Library developers are taking a serious look at making Boost more 
friendly for users of CMake.  This discussion is taking place on the 
Boost Developer's mailing list.


https://www.boost.org/community/groups.html

Those who have an interest in this topic are encouraged to observe 
and/or participate.  We would especially welcome help from the CMake team.


Robert Ramey
www.boost.org

--

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:
https://cmake.org/mailman/listinfo/cmake


Re: [CMake] Adding compile and build type tests to CMake/CTest

2017-09-12 Thread Robert Ramey

On 9/4/17 6:40 AM, Edward Diener wrote:
Boost Build has tests for running an application successfully or not, 
for compiling one or more source files successfully or not, and for 
building one or more source files into an exe or not. These tests in 
Boost Build are the run/run-fail, compile/compile-fail, and 
link/link-fail rules.


CMake/CTest has the exact equivalent to the run/run-fail rule in its 
add_test framework, but there is not add_test equivalent to the other 
two sets of rules. It sure would be nice, when Boost transitions to 
using CMake/CTest instead of Boost Build, if CMake/CTest had the 
equivalent of the other two sets of types of test in its add_test 
framework.


Is there any consensus that these other two types of tests might be 
valuable for CMake/CTest, or any way to make this happen ?




I would like to second this suggestion.  The absence of this feature 
presents a huge obstacle to replicating the functionality of the boost 
build functionality with CMake.  It's amazing to me that after so many 
years CMake doesn't have this functionality already.  It certainly seems 
to me that this would be easy to implement.


I'm aware that suggestions using CMake macros have been proposed.  But 
to the inexperienced user they are not intuitive or easy to understand.


Could we get some response on Edward's suggestion here? It's a serious 
obstacle to implementing support of CMake in Boost libraries.


Robert Ramey

--

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


Re: [CMake] FindBoost not finding MinGW libraries

2016-11-15 Thread Robert Ramey

On 11/14/16 5:36 AM, David Demelier wrote:
I spent some time getting CMake to work with with boost libraries.

My conclusions is that FindBoost can be relied upon only for header only 
libraries.  To used build libraries, you'll have to explicitly set the 
specific library variable to the path where the library is located.


For example, in order to link with the boost.filesystem library debug 
version I set


Boost_FILESYSTEM_LIBRARY_DEBUG to

/Users/robertramey/WorkingProjects/modular-boost/stage/lib/Debug/libboost_filesystem-clang-darwin-mt-d-1_62.a

I haven't tried with with shard libraries.

Basically, FindBoost needs some improvement before it can be expected to 
automagically find libraries to link to.


Robert Ramey

--

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


[CMake] How are modules tested?

2016-11-02 Thread Robert Ramey
I've been having difficulties creating an Xcode project.  In the course 
of this work, I've had occasion to investigate the FindBoost.cmake file. 
Looking at it - I don't see how it can possible work.  On my system 
libraries are created libboost___abi.a and I don't see 
anything similar to this.  Are there any test results I can look at to 
verify that this actually works?


Robert Ramey

--

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


Re: [CMake] CMake 3.6 and OSX

2016-11-01 Thread Robert Ramey
 = 1
CMake Error at 
/Applications/CMake.app/Contents/share/cmake-3.6/Modules/FindBoost.cmake:1767 
(message):

  Unable to find the requested Boost libraries.

  Boost version: 1.62.0

  Boost include path: /Users/robertramey/WorkingProjects/modular-boost

  Could not find the following static Boost libraries:

  boost_system
  boost_filesystem

  No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR 
to the

  directory containing Boost libraries or BOOST_ROOT to the location of
  Boost.
Call Stack (most recent call first):
  CMakeLists.txt:113 (find_package)


Boost_FOUND is 0
Boost NOT Found!

The last messages is from my CMakelists.txt file which verifies that the 
variable Boost_USE_STATIC_LIBS is indeed set to true.


Here is what I'm seeing:

a) it looks like CMake is looking for boost_filesystem rather than 
libboost as I expect. (same for system).


b) even if I tweak findBoost to force the system to look for libboost... 
it still fails


b) If I follow the suggestion and set BOOST_ROOT to the boost root, it 
still doesn't work.  The BOOST_ROOT variable is discarded when I invoke 
"Configure"


So again, any suggestions you can offer will be appreciated.

Robert Ramey



--

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


[CMake] CMake 3.6 and OSX

2016-10-29 Thread Robert Ramey
I've just "upgraded" to version 3.6 of CMake.  I'm using Xcode with the 
clang compiler.  Now when I'm trying to configure a project I'm getting:


The C compiler identification is unknown
The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:14 (project):
  No CMAKE_C_COMPILER could be found.
CMake Error at CMakeLists.txt:14 (project):
  No CMAKE_CXX_COMPILER could be found.

What do I have to do to make this work?

Robert Ramey

--

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


[CMake] CDash [Safe Numerics] - Administration

2015-09-26 Thread Robert Ramey
I see that some people are posting results to my dashboard 
http://my.cdash.org/index.php?project=Safe+Numerics=1=1=buildstarttime/date=83=1%20year%20ago 
- but lately I’ve been getting the following message.  Unfortunately, 
the message doesn’t tell me what to change to make this work!  So I need 
some help.  Any suggestions appreciated.



Begin forwarded message:

From: CDash <ad...@cdash.org>
Subject: CDash [Safe Numerics] - Administration
Date: September 23, 2015 at 2:54:51 PM PDT
To: ad...@cdash.org, ra...@rrsd.com
Reply-To: nore...@cdash.org

Object: Cannot create handler based on XML content
An XML submission from 41.220.69.175 to the project Safe Numerics cannot 
be parsed. The content of the file is as follow:


-CDash on my.cdash.org


Robert Ramey
Robert Ramey Software Development
(805)569-3793
ra...@rrsd.com
www.rrsd.com

--

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

[CMake] CDash problems

2015-06-25 Thread Robert Ramey

I set up a project on the cdash.org website.

When I invoke the experimental target it runs the tests and uploads 
the results to cdash.org.  So far so good. In my github project and 
documentation I've encouraged uses of this project to use CMake to build 
it and test it and run the experimental target so that their test 
results will also appear on the cdash dashboard.  But when someone other 
than myself tries to do this, I get an emal from ad...@cdhash.org which 
says:


Object: Cannot create handler based on XML content
An XML submission from 42.156.137.83 to the project Safe Numerics cannot 
be parsed. The content of the file is as follow:


-CDash on my.cdash.org

What do I have to do to find out the problem and fix this?

The project is Safe Numerics

http://my.cdash.org/index.php?project=Safe+Numerics


Robert Ramey

--

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


[CMake] CDash problem posting results

2015-05-28 Thread Robert Ramey

I have a CDash dashbord set up my.cdash.org which I can access at:

http://my.cdash.org/index.php?project=Safe+Numericsfiltercount=1showfilters=1field1=buildstarttime/datecompare1=83value1=1%20year%20ago

so far so good.  But I have a few problems.

a) The site doesn't show up when I look at www.cdash.org .  Note a huge 
deal, but I expected it should.


b) A bigger issue is that I get occasional emails from ad...@cdash.org:

from:ad...@cdash.org
subject:[Safe Numerics] - Administration

Object: Cannot create handler based on XML content
An XML submission from 68.180.229.57 to the project Safe Numerics cannot 
be parsed. The content of the file is as follow:


-CDash on my.cdash.org

This suggests to me that others are trying to run my CMake/CTest/CDash 
script but not having success.  What can I do to make this work?


Robert Ramey

--

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


[CMake] C++Now / BoostCon / Boost 2.0

2015-04-28 Thread Robert Ramey
I will be giving a presentation at C++Now
http://cppnow.org 
https://cppnow2015.sched.org

all things boost - which will touch upon CMake/CTest/CDash.  I have
recommended CMake... for boost - like projects and would like to see it more
widely accepted. http://rrsd.com/blincubator.com/tools_cmak/ I'm aware that
in the past there was a large effort to switch boost to CMake from Boost
Build which ended in failure.

For Boost 2.0 

https://cppnow2015.sched.org/event/d66a14e9cc28cffbf446b1fd2c3f4696#.VT-AV87_Suc

 I will promote the idea of boost libraries being less tightly coupled. 
Part of will be to propose that library authors be permitted to select their
own build/test system.  Testing of Boost would be just the union of the
testing of all the individual libraries.  Here are a few observations
regarding CMake as it might relate to Boost.

a) In the CMake section of the incubator page, I've advocated creating a
library subdirectory named CMake which includes the cake scripts. The source
files or not in this directory.  The scripts contain relative path names to
source files in the directory.  This permits the CMake scripts to not be
sprinkled all over the directory structure but rather in one place.  I've
used this and found it to work very well.

b) I would like to see testing of boost libraries distributed to library
users/testers and others, and have their test results posted on a library
dashboard.  This would provide a number of advantages.  So I would like to
be able to recommend CTest/CDash.  I have made this setup work - but it
doesn't just work.  I would like to see:

The CTest/CDash system has a sort of elaborate setup of experimental,
nightly, etc. which ties certain test names to different test frequencies. 
This is too complex.  Basically all we need is experimental which I would
more likely call on demand.  This is what users need.  Download a library,
build it, run test suite and post results.  

It's great that you guys run the public dashboard and I would like to
encourage boost libraries developers to use it.  I would like to see a few
cosmetic changes but the idea is close to what I would like to see for
Boost.

I did meet a couple of you at CPPCon last september. If any of you expect go
to C++Now please contact me with any information and/or advice you think
might be useful to me.

Robert Ramey 



--
View this message in context: 
http://cmake.3232098.n2.nabble.com/C-Now-BoostCon-Boost-2-0-tp7590405.html
Sent from the CMake mailing list archive at Nabble.com.
-- 

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


[CMake] CMake and Eclipse Luna

2015-02-17 Thread Robert Ramey
I'm using CMake 3.02 through CMake GUI.  

I have a CMake project which I want to build using Eclipse Luna (the most
recent eclipse). But the GUI doesn't present me with that option.   I tried
to use the latest one (Helios) but it seems that it won't work with this
option.

What should I do in order to build my project with Eclipse Luna

Robert Ramey




--
View this message in context: 
http://cmake.3232098.n2.nabble.com/CMake-and-Eclipse-Luna-tp7589778.html
Sent from the CMake mailing list archive at Nabble.com.
-- 

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


Re: [CMake] problem with my.cdash.org

2015-02-01 Thread Robert Ramey
Julien Jomier wrote
 It seems to be here:
 
 http://my.cdash.org/index.php?project=Safe+Numericsdate=2015-01-31
 
 Note that CDash is processing the XML files asynchronously therefore it 
 might take some time for the results to show up.
 
 Julien

Hmmm - it hasn't shown up yet

Robert Ramey



--
View this message in context: 
http://cmake.3232098.n2.nabble.com/problem-with-my-cdash-org-tp7589643p7589651.html
Sent from the CMake mailing list archive at Nabble.com.
-- 

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


Re: [CMake] problem with my.cdash.org

2015-02-01 Thread Robert Ramey
CMake mailing list wrote
 This output:
 
 Submit files (using http)
Using HTTP submit method
Drop site:http://my.cdash.org/submit.php?project=Safe+Numerics
Uploaded:
 /Users/robertramey/WorkingProjects/safe_numerics_xcode/Testing/20150201-0209/Build.xml
 make: ***
 [/Users/robertramey/WorkingProjects/safe_numerics_xcode/CMakeFiles/Experimental]
 Interrupt: 2
 
 makes it seem like you interrupted the build (with a Ctrl+C perhaps?)
 or something before the submission was done. The Build.xml file for
 the stamp 20150201-0209 is indeed there now:
 
 http://my.cdash.org/buildSummary.php?buildid=720331
 
 It shows the configure output and the build output, but since
 transmitting the test data was interrupted for some reason, it's not
 there.
 
 Does Interrupt: 2 always occur here, or can you try to run another
 one and let it go all the way until it's done submitting?

It always occurs when I build the Experimental project with Xcode.

I've been unable to discover what the return value of 2

Looks like I'm not the first to have this problem!

http://www.cmake.org/pipermail/cmake/2014-September/058686.html

Robert Ramey



--
View this message in context: 
http://cmake.3232098.n2.nabble.com/problem-with-my-cdash-org-tp7589643p7589654.html
Sent from the CMake mailing list archive at Nabble.com.
-- 

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


Re: [CMake] problem with my.cdash.org

2015-02-01 Thread Robert Ramey
I did managed to make this work with the following command line

$/Applications/CMake*/Contents/bin/ctest -C Debug -D Experimental

Of course this only means that there's something about the CMake generated
file for Xcode which some sort of issue.  It would be helpful to see this
addressed!

Robert Ramey






--
View this message in context: 
http://cmake.3232098.n2.nabble.com/problem-with-my-cdash-org-tp7589643p7589655.html
Sent from the CMake mailing list archive at Nabble.com.
-- 

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


Re: [CMake] problem with my.cdash.org

2015-01-31 Thread Robert Ramey
Thank for a very fast response!!!

Indeed I do find it there - I'm not sure why I didn't before.

In any case I have the the (non) problem again with my Xcode version.

Here is the log from the build/test/experimental:

Build target ZERO_CHECK

Write auxiliary files

/bin/mkdir -p
/Users/robertramey/WorkingProjects/safe_numerics_xcode/SafeIntegers.build/Debug/ZERO_CHECK.build
write-file
/Users/robertramey/WorkingProjects/safe_numerics_xcode/SafeIntegers.build/Debug/ZERO_CHECK.build/Script-F1CBCB8546DA4D6A95E16443.sh
chmod 0755
/Users/robertramey/WorkingProjects/safe_numerics_xcode/SafeIntegers.build/Debug/ZERO_CHECK.build/Script-F1CBCB8546DA4D6A95E16443.sh

PhaseScriptExecution CMake\ Rules
/Users/robertramey/WorkingProjects/safe_numerics_xcode/SafeIntegers.build/Debug/ZERO_CHECK.build/Script-F1CBCB8546DA4D6A95E16443.sh
cd /Users/robertramey/WorkingProjects/safe_numerics/CMake
/bin/sh -c
/Users/robertramey/WorkingProjects/safe_numerics_xcode/SafeIntegers.build/Debug/ZERO_CHECK.build/Script-F1CBCB8546DA4D6A95E16443.sh

echo 

make -f
/Users/robertramey/WorkingProjects/safe_numerics_xcode/CMakeScripts/ReRunCMake.make
make[1]:
`/Users/robertramey/WorkingProjects/safe_numerics_xcode/CMakeFiles/cmake.check_cache'
is up to date.


Build target Experimental

Write auxiliary files

/bin/mkdir -p
/Users/robertramey/WorkingProjects/safe_numerics_xcode/SafeIntegers.build/Debug/Experimental.build
write-file
/Users/robertramey/WorkingProjects/safe_numerics_xcode/SafeIntegers.build/Debug/Experimental.build/Script-056A663D5FF740F4ABCEA422.sh
chmod 0755
/Users/robertramey/WorkingProjects/safe_numerics_xcode/SafeIntegers.build/Debug/Experimental.build/Script-056A663D5FF740F4ABCEA422.sh

PhaseScriptExecution CMake\ Rules
/Users/robertramey/WorkingProjects/safe_numerics_xcode/SafeIntegers.build/Debug/Experimental.build/Script-056A663D5FF740F4ABCEA422.sh
cd /Users/robertramey/WorkingProjects/safe_numerics/CMake
/bin/sh -c
/Users/robertramey/WorkingProjects/safe_numerics_xcode/SafeIntegers.build/Debug/Experimental.build/Script-056A663D5FF740F4ABCEA422.sh

echo 

/Applications/CMake.app/Contents/bin/ctest -C Debug -D Experimental
   Site: Robert Ramey OSX clang-600.0.56
   Build name: Darwin-clang++
Create new tag: 20150201-0209 - Experimental
Configure project
   Each . represents 1024 bytes of output
. Size of output: 0K
Build project
   Each symbol represents 1024 bytes of output.
   '!' represents an error and '*' a warning.
.. Size of output: 14K
   0 Compiler errors
   0 Compiler warnings
Test project /Users/robertramey/WorkingProjects/safe_numerics_xcode
  Start  1: test0
 1/15 Test  #1: test0    Passed0.00 sec
  Start  2: test_add
 2/15 Test  #2: test_add .   Passed0.01 sec
  Start  3: test_cast
 3/15 Test  #3: test_cast    Passed0.00 sec
  Start  4: test_compare
 4/15 Test  #4: test_compare .   Passed0.01 sec
  Start  5: test_conversion
 5/15 Test  #5: test_conversion ..   Passed0.00 sec
  Start  6: test_divide
 6/15 Test  #6: test_divide ..   Passed0.02 sec
  Start  7: test_modulus
 7/15 Test  #7: test_modulus .   Passed0.02 sec
  Start  8: test_multiply
 8/15 Test  #8: test_multiply    Passed0.01 sec
  Start  9: test_subtract
 9/15 Test  #9: test_subtract    Passed0.01 sec
  Start 10: example1
10/15 Test #10: example1 .   Passed0.00 sec
  Start 11: example2
11/15 Test #11: example2 .   Passed0.00 sec
  Start 12: example3
12/15 Test #12: example3 .   Passed0.00 sec
  Start 13: example4
13/15 Test #13: example4 .   Passed0.00 sec
  Start 14: example5
14/15 Test #14: example5 .   Passed0.00 sec
  Start 15: example6
15/15 Test #15: example6 .   Passed0.00 sec

100% tests passed, 0 tests failed out of 15

Total Test time (real) =   0.12 sec
Performing coverage
 Cannot find any coverage files. Ignoring Coverage request.
Submit files (using http)
   Using HTTP submit method
   Drop site:http://my.cdash.org/submit.php?project=Safe+Numerics
   Uploaded:
/Users/robertramey/WorkingProjects/safe_numerics_xcode/Testing/20150201-0209/Build.xml
make: ***
[/Users/robertramey/WorkingProjects/safe_numerics_xcode/CMakeFiles/Experimental]
Interrupt: 2


And here is the window on my test results.  Notice the most recent Xcode one
is not complete




--
View this message in context: 
http://cmake.3232098.n2.nabble.com/problem-with-my-cdash-org-tp7589643p7589647.html
Sent from the CMake mailing list archive at Nabble.com.
-- 

Powered by www.kitware.com

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

Kitware

[CMake] linking gcc on osx

2015-01-12 Thread Robert Ramey
I use my Mac OSX to test my code against gcc 4.8.  I've installed the
appropriate command line tools and the compiler/linker works fine from the
command line.

My CMakeLists.txt project file works fine to generate an Xcode project for
build and test.  I can also use it to generate a makefile project for unix. 
(after deleting cache etc...).  The executable compile with the appropriate
compiler.  BUT they won't link with the standard library !!!  That is, I get 



Any help would be appreciated

Robert Ramey



--
View this message in context: 
http://cmake.3232098.n2.nabble.com/linking-gcc-on-osx-tp7589456.html
Sent from the CMake mailing list archive at Nabble.com.
-- 

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


Re: [CMake] linking gcc on osx

2015-01-12 Thread Robert Ramey
That's it 

I changed to C++ compiler to g++ and re-generated the project and it build
and linked.  Thanks a lot.

Robert Ramey



--
View this message in context: 
http://cmake.3232098.n2.nabble.com/linking-gcc-on-osx-tp7589456p7589457.html
Sent from the CMake mailing list archive at Nabble.com.
-- 

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


[CMake] my.cdash.org problems

2015-01-11 Thread Robert Ramey
I want to show all the tests run in the past year.  For this I use the URL
Safe Numerics Dashboard
http://my.cdash.org/index.php?project=Safe+Numericsfiltercount=1showfilters=1field1=buildstarttime/datecompare1=83value1=1%20year%20ago
  

So far so good.  But I have a number of problems:

a) when I run the experimental target on my Cmake setup, I get an error
message:


   Uploaded:
/Users/robertramey/WorkingProjects/safe_numerics_gcc-4.8.1/Testing/20150111-1903/Test.xml
   Errors occurred during submission.
Errors while running CTest
make[3]: *** [CMakeFiles/Experimental] Error 8
make[2]: *** [CMakeFiles/Experimental.dir/all] Error 2
make[1]: *** [CMakeFiles/Experimental.dir/rule] Error 2
make: *** [Experimental] Error 2

my CTestConfig.cmake is:

set(CTEST_PROJECT_NAME Safe Numerics)
set(CTEST_NIGHTLY_START_TIME 01:00:00 UTC)

set(CTEST_DROP_METHOD http)
set(CTEST_DROP_SITE my.cdash.org)
# set(CTEST_DROP_LOCATION /cdash/submit.php?project=MyProject)
set(CTEST_DROP_LOCATION /index.php?project=Safe+Numerics)
set(CTEST_DROP_SITE_CDASH TRUE)

What do I have to do make this work and add another line to my test
dashboard?

b)when I log in to http://my.cdash.org I get a screen with a simple message

No update data as of Sunday, January 11 2015 - 00:00 EST
211 days ago: 13 tests not run on Darwin-clang++
211 days ago: 10 warnings introduced on Darwin-clang++

which OK.  BUT I don't see how to get the display I get to above which shows
all the test results for the past year.  How do I get there?

Robert Ramey





--
View this message in context: 
http://cmake.3232098.n2.nabble.com/my-cdash-org-problems-tp7589444.html
Sent from the CMake mailing list archive at Nabble.com.
-- 

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


[CMake] Generating an Xcode project for C++11

2014-12-16 Thread Robert Ramey
My CMakeLists.txt contains in part:
blockquote
#
# Compiler settings
#

message(STATUS compiler is ${CMAKE_CXX_COMPILER_ID} )

if( CMAKE_CXX_COMPILER_ID STREQUAL GNU )
  add_definitions( -ftemplate-depth=300 )
  # we use gcc to test for C++03 compatibility
  add_definitions( std=c++03 )
  message(STATUS compiler is g++ c++03)
elseif( CMAKE_CXX_COMPILER_ID STREQUAL MSVC )
  add_definitions( /wd4996 )
  message(STATUS compiler is MSVC)
elseif( CMAKE_CXX_COMPILER_ID STREQUAL Clang )
  set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} -ftemplate-depth=300)
  #set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} -std=c++98)
  set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} -std=c++11)
  set(CMAKE_CXX_FLAGS_DEBUG -g -O0 )
  set(CMAKE_CXX_FLAGS_RELWITHDEBINFO -g -O3 )
  set(CMAKE_EXE_LINKER_FLAGS ${CMAKE_EXE_LINKER_FLAGS} -stdlib=libc++
-dead_strip)
endif()

#
# IDE settings
#

if( CMAKE_HOST_APPLE )
  # note: it seems that bjam builds both address models in any case
  # so we can defer this decision to the IDE just as we do for debug/release
  # so we'll not use this now
  # set(Boost_ADDRESS_MODEL 64 CACHE INTEGER 32/64 bits)
  set(Boost_USE_STATIC_LIBS ON CACHE BOOL Link to Boost static libraries)
  set(Boost_USE_MULTITHREADED ON)
else()
  set(Boost_ADDRESS_MODEL 64 CACHE INTEGER 32/64 bits)
  set(Boost_USE_STATIC_LIBS ON CACHE BOOL Link to Boost static libraries)
  set(Boost_USE_MULTITHREADED ON)
endif()
/blockquote

but the Xcode project generated specifies under 
Apple LLVM 6.0 Language - C++
  C++ Language Dialect
 Compiler Default

rather than what I want which is:

Apple LLVM 6.0 Language - C++
  C++ Language Dialect
 C++11 [-std=c++11]

What do I have to change to get the desired result?

RObert Ramey





--
View this message in context: 
http://cmake.3232098.n2.nabble.com/Generating-an-Xcode-project-for-C-11-tp7589301.html
Sent from the CMake mailing list archive at Nabble.com.
-- 

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


[CMake] CMake can't find Boost versions 1.55

2014-11-14 Thread Robert Ramey
The module FindBoost is quite elaborate.  Unfortunately it seems to depend
upon searching for specific version numbers found in a list.  This list only
goes up to 1.55 so it can't find later versions of Boost.  Better would be
to eliminate the list so module doesn't expire



--
View this message in context: 
http://cmake.3232098.n2.nabble.com/CMake-can-t-find-Boost-versions-1-55-tp7589009.html
Sent from the CMake mailing list archive at Nabble.com.
-- 

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


[CMake] CDash quesitions

2014-06-15 Thread Robert Ramey
I have a dashboard set up at:

http://my.cdash.org/index.php?project=Safe+Numericsfiltercount=1showfilters=1field1=buildstarttime/datecompare1=83value1=1%20year%20ago

I've had a couple of problems getting it working - but it seems to work and
now I have a few questions.

a) I generated some bogus test results by running the Experimental target
on my Xcode/Cmake project.  This seems to be fixed by making sure that the
test project and experimental CDash were both set to release.  Also it seems
I created some test results with 0 tests run but invoking Experimental
target more than once.  I'm not sure.

b) Anyway, I have a few lines of test results that I want to eliminated -
how do I remove lines from this table?

Robert Ramey



--
View this message in context: 
http://cmake.3232098.n2.nabble.com/CDash-quesitions-tp7587696.html
Sent from the CMake mailing list archive at Nabble.com.
-- 

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


[CMake] CDash questions

2014-04-22 Thread Robert Ramey
I’ve spent quite a bit of time going through the CDash Documentation at 
http://public.kitware.com/Wiki/CDash .

In spite of the fact that it seems I’ve been able to get this to work (project 
= Safe Numerics), I have a lot of questions:

The way I’m doing this now is the following:

a) I edit the CMakeList.txt file(s) and follow the procedure to create an Xcode 
IDE project.  This project contains a bunch of targets including ALL_BUILD, 
RUN_TESTS, and Experimental - among others
b) I build the target ALL_BUILD from the IDE - works as expected
c) I build the target RUN_TESTS from the IDE - find - runs a makefile which 
runs all the tests.
d) I build “Experimental” which seems to submit the test results to the 
my.cdash server.  This seems good as the page 
http://my.cdash.org/index.php?project=Safe+Numericsdate=2014-04-21# shows the 
results from the test run and I can on the various parts of the display to get 
the build type, build machine etc ….

So this looks good.  But I have a few questions:

a) I expect to see a list of all the test runs - or at least the the last run 
from each site.  But the display comes up blank until I click “Previous” at 
which time it display the test runs from the previous day.  What do I have to 
do to get a list of all test runs from all sites for all dates.

b) The whole setup is quite confusing.  I would like to think that if if users 
of this library include the  CTestConfig.cmake file that I give them - ie

## This file should be placed in the root directory of your project.
## Then modify the CMakeLists.txt file in the root directory of your
## project to incorporate the testing dashboard.
## # The following are required to uses Dart and the Cdash dashboard
##   ENABLE_TESTING()
##   INCLUDE(CTest)
set(CTEST_PROJECT_NAME Safe Numerics)
set(CTEST_NIGHTLY_START_TIME 01:00:00 UTC)

set(CTEST_DROP_METHOD http)
set(CTEST_DROP_SITE my.cdash.org)
set(CTEST_DROP_LOCATION /submit.php?project=Safe+Numerics)
set(CTEST_DROP_SITE_CDASH TRUE)

They will be able to submit their test results in the same way I just did.  Am 
I correct in my understanding of this?

Also I have some other questions which are not really related to my specific 
problem but rather to what the purpose of CDash actually is.  

a) Is it a system for gathering and recording the results of test runs made 
from different client configurations
b) or is it a system for running tests on the actual server hardware
c) or is it a system for automatically downloading projects to a client machine 
and running the tests and posting the results.  

It seems that it’s all three - but this is not at all clear from the 
documentation.  I sort of conclude this from the information that the myCDash 
server requests regarding how to run the tests, where is the code repository, 
etc.

For what it’s worth - here is what I need:

a) I have a programming library for Safe integegers - see 
http://rrsd.com/blincubator.com/bi_library/safe-numerics/
b) I want users to be able to download the library, run the tests, check the 
results, if they want, submit them to the my.cdash server
c) I want all other users to see these results so we can get an idea of the 
variety of platforms the tests have been run and where they might have failed.

Am I doing this right? Am I missing anything?

Robert Ramey
Robert Ramey Software Development
(805)569-3793
ra...@rrsd.com
www.rrsd.com





-- 

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://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] CTest CDash submission

2014-04-21 Thread Robert Ramey
Building the “Experimental” target creates a file named 
LastSubmit_20140421-2201.log.tmp which contains the following

Upload files:
0   Build.xml
1   Configure.xml
2   Test.xml
Using drop method: http
Upload file: 
/Users/robertramey/WorkingProjects/safe_numerics/CMake/build-static/Testing/20140421-2201/Build.xml
 to 
Roberts-Mac-mini.local___Darwin-clang++___20140421-2201-Experimental___XML___Build.xml

This suggests that it’s trying to submit the results to my own machine rather 
than the project at my.cdash/index.php

Any help you can give me would be appreciated.

Robert Ramey
Robert Ramey Software Development
(805)569-3793
ra...@rrsd.com
www.rrsd.com





-- 

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://www.cmake.org/mailman/listinfo/cmake

[CMake] CTest CDash submission

2014-04-21 Thread Robert Ramey
I want to submit test results to a common area and I’m trying to get CTest / 
CDash to do it.  So far after a couple of hours I’ve been unsuccessful. Here is 
information which shows more or less where I’m at.

a) I created a dashboard at http://my.cdash.org/index.php?project=Safe+Numerics
b) I have a CMakeLists text file which seems to work as it should.  I builds a 
bunch of projects for my Mac Xcode IDE including build, test and run.
This CMakeLists.txt file includes “include(CTest) 
c) I configure and generate the project and things seem to work great - until I 
build the project “Experimental” - 
1) There is a new file in my directory named: LastSubmit_20140421-2126.log.tmp 
which contains:

Upload files:
0   Build.xml
1   Configure.xml
2   Test.xml
Using drop method: http
Upload file: 
/Users/robertramey/WorkingProjects/safe_numerics/CMake/build-static/Testing/20140421-2126/Build.xml
 to 
Roberts-Mac-mini.local___Darwin-clang++___20140421-2126-Experimental___XML___Build.xml

The contents of this file suggests that CTest is trying to load the results to 
my own machine rather than the CDash server.

d) I also have a file at the same level as the CMakeLists.txt file named 
CTestConfig.cmake which contains:

## This file should be placed in the root directory of your project.
## Then modify the CMakeLists.txt file in the root directory of your
## project to incorporate the testing dashboard.
## # The following are required to uses Dart and the Cdash dashboard
##   ENABLE_TESTING()
##   INCLUDE(CTest)
set(CTEST_PROJECT_NAME Safe Numerics)
set(CTEST_NIGHTLY_START_TIME 01:00:00 UTC)

set(CTEST_DROP_METHOD http)
set(CTEST_DROP_SITE my.cdash.org)
# set(CTEST_DROP_LOCATION /cdash/submit.php?project=MyProject)
set(CTEST_DROP_LOCATION /index.php?project=Safe+Numerics)
set(CTEST_DROP_SITE_CDASH TRUE)

Which is what I believe I should have.

Note that I also have a CMake generated file named DartConfiguration.tcl which 
contains (among other things)

# Submission information
IsCDash: TRUE
CDashVersion: 
QueryCDashVersion: 
DropSite: my.cdash.org
DropLocation: /index.php?project=Safe+Numerics
DropSiteUser: 
DropSitePassword: 
DropSiteMode: 
DropMethod: http
TriggerSite: 
ScpCommand: /usr/bin/scp

# Dashboard start time
NightlyStartTime: 01:00:00 UTC

I don’t what role this plays, but it seems it has been setup consistently from 
the CTestConfig.cmake.

Any help you can give me would be appreciated.

Robert Ramey
Robert Ramey Software Development
(805)569-3793
ra...@rrsd.com
www.rrsd.com





-- 

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://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] CTest CDash submission

2014-04-21 Thread Robert Ramey

Actually this seems to almost work now. 

my test dashboard http://my.cdash.org/index.php?project=Safe+Numerics is 
showing one line with my machine configuration but zero tests.
I’m getting an email from ad...@cdash.org that says 

Object: Cannot create handler based on XML content
An XML submission from 68.6.127.66 to the project Safe Numerics cannot be 
parsed. The content of the file is as follow: 

Any help you can give me would be appreciated.

Robert Ramey
Robert Ramey Software Development
(805)569-3793
ra...@rrsd.com
www.rrsd.com





-- 

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://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] CTest CDash submission

2014-04-21 Thread Robert Ramey

Actually this seems to be working now.  I think after a couple of variations 
(I’m very stubborn!) it started to work without my realizing it.  And I 
expected to see one line in the display per test.  Only afterward, did I see 
that I have to click around the display to get all the information.

Thanks for you help.

Robert Ramey
Robert Ramey Software Development
(805)569-3793
ra...@rrsd.com
www.rrsd.com





-- 

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://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] problem: No test configuration file found!

2012-06-20 Thread Robert Ramey
I received the adive:

include(CTest)
instead of:
enable_testing()
Including CTest.cmake will automatically enable_testing(), but it also 
configures the test configuration file it's complaining about...

and was rewarded with a working VS 9 project. The test_subtract project 
built - as it did before. I then built the Experimental project which 
generated the following output on my VS output window.

1-- Build started: Project: Experimental, Configuration: Debug
1Win32 -- Cannot find file: C:/Projects/Boost
1Projects/safe_numerics/build/tests/DartConfiguration.tcl
1 Site:
1 Build name:
1Create new tag: 20120619-2150 - Experimental Configure project Cannot
1find ConfigureCommand key in the DartConfiguration.tcl Cannot find
1file: C:/Projects/Boost
1Projects/safe_numerics/build/tests/DartConfiguration.tcl
1Build project
1Cannot find MakeCommand key in the DartConfiguration.tcl Cannot find
1file: C:/Projects/Boost
1Projects/safe_numerics/build/tests/DartConfiguration.tcl
1Test project C:/Projects/Boost Projects/safe_numerics/build/tests
1 Start 1: test_subtract
11/1 Test #1: test_subtract ***Exception: SegFault
10.42 sec 0% tests passed, 1 tests failed out of 1 Total Test time
1(real) = 0.52 sec The following tests FAILED:
1 1 - test_subtract (SEGFAULT)
1Cannot find file: C:/Projects/Boost
1Projects/safe_numerics/build/tests/DartConfiguration.tcl
1Performing coverage
1^CTerminate batch job (Y/N)?
1Build log was saved at file://c:\Projects\Boost 
Projects\safe_numerics\build\tests\Experimental.dir\Debug\BuildLog.htm
1Experimental - 0 error(s), 0 warning(s)
1
1
1The build has been canceled at the user's request
that last command Performing Coverage seemed to hang this system so I 
canceled the build after a few minutes.
The message:
1Cannot find file: C:/Projects/Boost
1Projects/safe_numerics/build/tests/DartConfiguration.tcl

Note that I found a new file in my project:
C:/Projects/Boost Projects/safe_numerics/build/DartConfiguration.tcl
That is, directly in my build directory rather than in tests subdirectory.
OK I moved this down to the tests directory and tried again. This looks 
more promising.
Now when I try to build Experimental Project I get:

1-- Build started: Project: Experimental, Configuration: Debug 
Win32 --
1 Site: RRSD01
1 Build name: Win32-vs9
1Create new tag: 20120619-2225 - Experimental Configure project
1 Each . represents 1024 bytes of output
1 . Size of output: 0K
1Build project
1 Each symbol represents 1024 bytes of output.
1 '!' represents an error and '*' a warning.
1 . Size of output: 0K
1 0 Compiler errors
1 0 Compiler warnings
1Test project C:/Projects/Boost Projects/safe_numerics/build No tests
1were found!!!
1Performing coverage
1 Cannot find any coverage files. Ignoring Coverage request.
1Submit files (using http)
1 Using HTTP submit method
1 Drop site:http://
1 Submit failed, waiting 5 seconds...
1 Retry submission: Attempt 1 of 3
1 Submit failed, waiting 5 seconds...
1 Retry submission: Attempt 2 of 3
1 Submit failed, waiting 5 seconds...
1 Retry submission: Attempt 3 of 3
1 Error when uploading file: C:/Projects/Boost 
Projects/safe_numerics/build/Testing/20120619-2225/Build.xml
1 Error message was: Empty reply from server
1 Problems when submitting via HTTP
1Errors while running CTest
1Project : error PRJ0019: A tool returned an error code from Build log
1was saved at file://c:\Projects\Boost 
Projects\safe_numerics\build\tests\Experimental.dir\Debug\BuildLog.htm
1Experimental - 1 error(s), 0 warning(s)
== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==
?
still it's not what I expect to see.
Is there some really obvious thing I've over looking here?

Robert Ramey 



--

Powered by www.kitware.com

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

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

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


[CMake] problem: No test configuration file found!

2012-06-19 Thread Robert Ramey
I'm working through my first CMake/CTest project.

My directory structure looks like

safe_numerics/
CMakeLists.txt // #1
build/ // out of source build directory
include/
examples/
doc/
tests/
CMakeLists.txt // #2


#1 looks like
cmake_minimum_required(VERSION 2.6)
project(safe_numerics)
if(MSVC)
add_definitions(
/Gy
/wd4244 # converting 'std::streamsize' in 'size_t'
/D_CRT_SECURE_NO_WARNINGS
/D_SCL_SECURE_NO_WARNINGS
)
endif(MSVC)
set(CMAKE_VERBOSE_MAKEFILE on)
set(CMAKE_BUILD_TYPE Debug)
message(BOOST_ROOT = $ENV{BOOST_ROOT} )
include_directories($ENV{BOOST_ROOT})
# walk the tests directory to run tests
add_subdirectory(tests)

#2 looks like
ENABLE_TESTING()
add_executable(test_subtract
test_subtract.cpp
test_subtract1.cpp
test_subtract2.cpp
test_subtract3.cpp
)
add_test(
test_subtract
test_subtract
)

Here is what I do

cd build
cmake ..
$ ls -1
ALL_BUILD.vcproj
CMakeCache.txt
CMakeFiles
ZERO_CHECK.vcproj
cmake_install.cmake
safe_numerics.ncb
safe_numerics.sln
tests


when I bring up safe_numerics.sln, I do see the test_subtract project, it 
builds and executes.

BUT when I try to run CTest I get (among other stuff)

$ctest
*
No test configuration file found!
*
...

Things I've tried.

I eliminate the add_subdirectory and put all the sommand into file #1 . 
This did in fact build RUN_TESTS.vcproj.  But I can't see what I did wroing 
and what the right way to fix it is.

I'm lost as to what's wrong with this.  Any help appreciated.

Robert Ramey



--

Powered by www.kitware.com

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

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

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake