Re: [CMake] Warning when find_package does not find package

2014-05-25 Thread Christoph Grüninger
Hi CMake developers, I further investigated my problem that I get a warning message from find_package which could not find the config file of an optional package, even when called with NO_MODULE. In cmFindPackageCommand.cxx, lines 811 - 822 the error messages are printed out as AUTHOR_WARNINGs

[CMake] How to correctly set CMAKE custom commands for external projects

2014-05-25 Thread キキジキ
Hello everyone, I hope you can help me understand this. I originally asked the same question on stackoverflow, so if you want you can check there too ( http://stackoverflow.com/questions/23591085/how-to-correctly-set-cmake-custom-commands-for-external-projects ). I have a main project (A) dependin

Re: [CMake] How to build 'install' target or orther custom target in eclipse?

2014-05-25 Thread Alexander Neundorf
On Saturday, May 24, 2014 18:35:06 J Decker wrote: > So I've had to pick up eclipse to try and learn it; figured maybe if I took > my existing code and generated it as eclipse format I might get a better > clue. > > Now I can right click and bulid the project...but I don't see how to build > a spe

[CMake] Problems with BundleUtilities and wxWidgets on OSX

2014-05-25 Thread Bernhard Stegmaier
Hi list, I tried to create a portable application bundle for an application using wxWidgets with BundleUtilities (fixup_bundle). It basically works, but I have two problems… any hints would be very helpful. *** Problem 1: dylib symlinks The application is built against shared wxWidgets libraries

Re: [CMake] How to build 'install' target or orther custom target in eclipse?

2014-05-25 Thread J Decker
On Sun, May 25, 2014 at 9:18 AM, Alexander Neundorf wrote: > On Saturday, May 24, 2014 18:35:06 J Decker wrote: > > So I've had to pick up eclipse to try and learn it; figured maybe if I > took > > my existing code and generated it as eclipse format I might get a better > > clue. > > > > Now I ca

Re: [CMake] How to build 'install' target or orther custom target in eclipse?

2014-05-25 Thread J Decker
> > the screenshot shows the "Project explorer" tab, you need the "Make > targets" > tab. > > Thanx a lot. > Alex > > -- 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 CMa

Re: [CMake] How to build 'install' target or orther custom target in eclipse?

2014-05-25 Thread Alexander Neundorf
On Sunday, May 25, 2014 11:43:18 you wrote: > On Sun, May 25, 2014 at 9:18 AM, Alexander Neundorf > wrote: > > > > On Saturday, May 24, 2014 18:35:06 J Decker wrote: > > > So I've had to pick up eclipse to try and learn it; figured maybe if I > > > > took > > > > > my existing code and generate

[CMake] Problem with resource.qrc on a Qt Library

2014-05-25 Thread wvalenzuela
Hi Guys, I am creating a library using qt classes and I want to add a qt resource file, to use some icons in the library, my code is: SET(RESOURCES resource.qrc) SOURCE_GROUP("Resources" FILES ${RESOURCES}) QT5_ADD_RESOURCES(RESOURCES_SOURCES ${RESOURCES}) get_target_property(QtCore_location Qt5

Re: [CMake] What do Visual Studio users do so they can run/debug their programs when using 3rd party .dlls?

2014-05-25 Thread Jean-Christophe Fillion-Robin
Hi Eric, This can be solved using a launcher. When adding tests, you could use the following syntax: add_test( NAME NameOfTest COMMAND ${TheProject_LAUNCH_COMMAND} $ --arg1 ... ) where TheProject_LAUNCH_COMMAND is a variable pointing to a launcher There are few options