Re: [CMake] make superclean target? (i.e. clear *everything*)

2013-04-04 Thread Andreas Stahl
Am 04.04.2013 um 17:31 schrieb Brian Milco: On Thu, Apr 4, 2013 at 6:01 AM, Daniele E. Domenichelli daniele.domeniche...@gmail.com wrote: One benefit is that it would allow to easily remove all cmake files when you wrongly run cmake in the source directory instead of in the build one.

Re: [CMake] Explicit NAME_LIBRARIES and NAME_INCLUDE_DIRS

2013-03-22 Thread Andreas Stahl
Am 22.03.2013 um 16:59 schrieb Mateusz Loskot mate...@loskot.net: Hi, I'm trying to build software which uses libE57 library which has Xerces as dependency. I build Xerces too as part of my project and I deploy it in custom locations and Xerces library has custom name. libE57

Re: [CMake] How to set Overwrite or no over write in install(FILES ....)?

2013-03-11 Thread Andreas Stahl
Am 11.03.2013 um 06:14 schrieb hce: Hi, I have following statement to install a file from source directory to destination. It got a conflict error if the destination has already had the file. Hello Jupiter, can you post the error message here? I wasn't aware that install(FILES ...) did

Re: [CMake] Resolving static lib dependency at executable link time

2013-02-25 Thread Andreas Stahl
Hello Pierre, my knowledge concerning the linking process is rather limited, but wouldn't that mean you don't need to inter-link the libraries at all, when the symbols are resolved at link-time with the executable? add_executable(ex1 libB libC1 libC2) should suffice then. Best regards, Andreas

Re: [CMake] Resolving static lib dependency at executable link time

2013-02-25 Thread Andreas Stahl
Hello Pierre, self reply as a correction, sorry: what I meant was that only linking the executables TARGET_LINK_LIBRARIES(EX1 libB libC1) TARGET_LINK_LIBRARIES(EX2 libB libC2) should suffice. Andreas Am 25.02.2013 um 14:14 schrieb Andreas Stahl: Hello Pierre, my knowledge concerning

Re: [CMake] Setting XCode Runtime Search Path

2013-02-20 Thread Andreas Stahl
Hello Darrell, you can also set it as a property per target set_target_properties(MyExecutable PROPERTIES XCODE_ATTRIBUTE_LD_RUNPATH_SEARCH_PATHS @loader_path;@loader_path/../lib ) This should work, but I think CMake could use some facilities to handle the executables runpath search

Re: [CMake] Using different installs/versions of the OpenCV library

2013-02-14 Thread Andreas Stahl
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 -- Andreas Stahl, Dipl. Medien-Inf. Technische Universität Dresden Fakultät Informatik Institut für Software- und