Re: [CMake] Testing for a target broke for me

2013-12-20 Thread Richard Shaw
Ok, I didn't notice my replies going to Norman only, apologies. Answer from upstream is that it returns true if the target exists, it does not care from a ExternalProject POV that the target has been built. The documentation has been clarified. I have it working properly now testing for the

[CMake] Testing for a target broke for me

2013-12-12 Thread Richard Shaw
I've had this working and I don't *THINK* I changed anything that would cause it to fail now but I'm not completely sure. I have a project I converted over to cmake from automake which requires wxWidgets 3.0 (or the 2.9 devel branch). Although it just released I still want to maintain the ability

Re: [CMake] Testing for a target broke for me

2013-12-12 Thread Williams, Norman K
This is a case for ExternalProjects. http://www.kitware.com/media/html/BuildingExternalProjectsWithCMake2.8.html Also search for 'cmake superbuild' for discussion of how people are using external projects. An example build setup for prerequisites/projects here:

Re: [CMake] Testing for a target broke for me

2013-12-12 Thread Richard Shaw
On Thu, Dec 12, 2013 at 11:20 AM, Williams, Norman K norman-k-willi...@uiowa.edu wrote: This is a case for ExternalProjects. http://www.kitware.com/media/html/BuildingExternalProjectsWithCMake2.8.html I've read that before but didn't find anything new there. I also tried checking the state

Re: [CMake] Testing for a target broke for me

2013-12-12 Thread Williams, Norman K
On 12/12/13 2:13 PM, Richard Shaw hobbes1...@gmail.commailto:hobbes1...@gmail.com wrote: Very interesting but not quite what I'm looking for, in this case the main CMakeLists.txt does actually build a project, I just need it to build wxWidgets first. Well it's up to you but 'build X and then

Re: [CMake] Testing for a Target

2008-11-27 Thread Alexander Neundorf
On Wednesday 26 November 2008, Michael Jackson wrote: On Nov 26, 2008, at 4:34 PM, Eric Noulard wrote: 2008/11/26 Michael Jackson [EMAIL PROTECTED]: Is there a way to actually test to see if a target exists or has been created? I am working on the boost-cmake stuff and I would to

[CMake] Testing for a Target

2008-11-26 Thread Michael Jackson
Is there a way to actually test to see if a target exists or has been created? I am working on the boost-cmake stuff and I would to implement a macro that takes in requirements for a target (regression test). As it checks those requirements the macro will need to check to see if one of

Re: [CMake] Testing for a Target

2008-11-26 Thread Eric Noulard
2008/11/26 Michael Jackson [EMAIL PROTECTED]: Is there a way to actually test to see if a target exists or has been created? I am working on the boost-cmake stuff and I would to implement a macro that takes in requirements for a target (regression test). As it checks those requirements the

Re: [CMake] Testing for a Target

2008-11-26 Thread Michael Jackson
On Nov 26, 2008, at 4:34 PM, Eric Noulard wrote: 2008/11/26 Michael Jackson [EMAIL PROTECTED]: Is there a way to actually test to see if a target exists or has been created? I am working on the boost-cmake stuff and I would to implement a macro that takes in requirements for a target