[CMake] Implicit EXECUTABLE_OUTPUT_PATH in CMake 2.6

2009-01-06 Thread Takeshi Abe
Hi, I've found a different behavior between CMake 2.6.0 and 2.6.1 on implicit EXECUTABLE_OUTPUT_PATH. For example, say a simple project named `foo' has a test `foo': ~$ ls -la foo total 16 drwxr-xr-x 2 tabe tabe 4096 Jan 7 01:45 . drwxr-xr-x 5 tabe tabe 4096 Jan 7 02:24 .. -rw-r--r-- 1 tabe tabe

[CMake] Proper way to write a FIND_PACKAGE

2009-01-06 Thread George Neill
All, Is this the recommended recipe to write FIND_PACKAGE() cmake scripts? http://vtk.org/Wiki/CMake:How_To_Find_Libraries#Writing_find_modules TIA, George. ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] How to install an imported library?

2009-01-06 Thread Clement SOMMELET
Thanks for your quick answer Andreas! 2009/1/6 Andreas Pakulat : > On 06.01.09 10:55:19, Clement SOMMELET wrote: >> Hi, I try the following to install an imported dll: >> >> ADD_LIBRARY(Foo SHARED IMPORTED) >> SET_TARGET_PROPERTIES(Foo PROPERTIES IMPORTED_LOCATION >> "C:/FooLocation/Foo.dll") >>

Re: [CMake] How to install an imported library?

2009-01-06 Thread Andreas Pakulat
On 06.01.09 10:55:19, Clement SOMMELET wrote: > Hi, I try the following to install an imported dll: > > ADD_LIBRARY(Foo SHARED IMPORTED) > SET_TARGET_PROPERTIES(Foo PROPERTIES IMPORTED_LOCATION > "C:/FooLocation/Foo.dll") > INSTALL(TARGETS Foo RUNTIME DESTINATION bin) > > and I get the following

Re: [CMake] CMake's Dependency Scanner - Disabling?

2009-01-06 Thread Gavin Beatty
On Tue, Dec 30, 2008 at 3:22 AM, Naram Qashat wrote: > Is it possible to disable CMake's implicit dependency scanner? I understand > that it is probably a helpful feature on many projects, but on the project > I'm working on, I opted to explicitly define the dependencies instead and > would like

[CMake] [Announce]

2009-01-06 Thread Frédéric AIME
Dear All, we've just released our new version of CMakeBuilder (release 1.0) an eclipse plugin that enables the use of basic CMake features visually from within eclipse. You can find information about it at http://www.cmakebuilder.com or install it directly from http://www.cmakebuilder.com/update

[CMake] Strange problem creating and linking against a static lib

2009-01-06 Thread Joachim Ziegler
Hello list, I've tried to put all my .o-files into some kind of "convenience lib" so that not every object file is rebuilt for every target that I have. A problem arises when I try to create a static lib and a static binary that is linked against this lib. I have in my CMakeLists.txt (here only e

[CMake] How to install an imported library?

2009-01-06 Thread Clement SOMMELET
Hi, I try the following to install an imported dll: ADD_LIBRARY(Foo SHARED IMPORTED) SET_TARGET_PROPERTIES(Foo PROPERTIES IMPORTED_LOCATION "C:/FooLocation/Foo.dll") INSTALL(TARGETS Foo RUNTIME DESTINATION bin) and I get the following error: install TARGETS given target "Foo" which does not exis