[cmake-developers] Is this warning really needed: "You have called ADD_LIBRARY for library foobar without any source files."?

2015-07-22 Thread Erik Sjölund
on setting up a target where the target name is given as an input parameter. The nice thing about it is that I can pass both an executable target and a shared library target as input to such a function. cheers, Erik Sjölund -- Powered by www.kitware.com Please keep messages on-topic and check the CMak

Re: [cmake-developers] why does the order of the options in file(GENERATE) matter?

2014-12-05 Thread Erik Sjölund
I see, thanks. cheers, Erik Sjölund On Fri, Dec 5, 2014 at 7:32 PM, Brad King wrote: > On 12/05/2014 04:28 AM, Erik Sjölund wrote: >> The CMake documentation doesn't mention that the order matters: >> http://www.cmake.org/cmake/help/v3.1/command/file.html#command:file >>

Re: [cmake-developers] suggestion: rename FindXerces to FindXercesC

2014-12-05 Thread Erik Sjölund
The patch worked for me. cheers, Erik Sjölund On Thu, Dec 4, 2014 at 4:52 PM, Brad King wrote: > On 12/04/2014 10:32 AM, Brad King wrote: >> Roger, as the contributor of this module do you have any reason >> not to change the name? > > I've constructed a commit to per

[cmake-developers] why does the order of the options in file(GENERATE) matter?

2014-12-05 Thread Erik Sjölund
ENERATE) matter? cheers, Erik Sjölund -- 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: h

[cmake-developers] suggestion: rename FindXerces to FindXercesC

2014-12-04 Thread Erik Sjölund
As there are two implementations of Xerces, one in C++ http://xerces.apache.org/xerces-c/ and one in Java http://xerces.apache.org/xerces-j/ I think it is a good idea to rename FindXerces to FindXercesC or something similar, just to indicate that is about the C++ implementation. cheers, Erik