Re: [CMake] Success with Compaq Visual Fortran - at least some!

2006-10-02 Thread Arjen Markus
Arjen Markus wrote: Hello Brad, I tried your tip on adding SET(CMAKE_WINDOWS_OBJECT_PATH 1) to the platform module for the Fortran compiler and that did the trick! All works now - at least for my minimal test project. I have more information now: While it worked with my small test pr

[CMake] Relinking before installing

2006-10-02 Thread Andrew Maclean
In Linux, is it possible to relink libraries before installation? For instance if I have built with shared libraries on and CMAKE_SKIP_RPATH OFF then I have runtime paths in the shared libraries. When I finally decide to install a version for system-wide use (not development), then I want no runtim

RE: [CMake] -fPIC flag on object build for static lib targets?

2006-10-02 Thread Alan W. Irwin
On 2006-10-02 22:29+0100 James Mansion wrote: http://www.cmake.org/Wiki/CMake_FAQ#Does_CMake_support_.22convenience.22_lib raries.3F The FAQ is misleading - they DO make sense for (all) non-UNIX linkers. What non-UNIX linkers do not have an equivalence to an archive? There is no reason why

[CMake] CMakeDetermineSystem.cmake

2006-10-02 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
Hi, Is there a module like CMakeDetermineSystem.cmake that would tell the specific Linux distribution and architecture that compilation is running on? I would like to use it to attach it to package name generated by CPack. Thank You for all the support. -- Artur Kedziers

RE: [CMake] -fPIC flag on object build for static lib targets?

2006-10-02 Thread James Mansion
> http://www.cmake.org/Wiki/CMake_FAQ#Does_CMake_support_.22convenience.22_lib raries.3F The FAQ is misleading - they DO make sense for (all) non-UNIX linkers. What non-UNIX linkers do not have an equivalence to an archive? There is no reason why I cannot compile a load of objects with DLL compi

RE: [CMake] 3rd party modules

2006-10-02 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
Thank You. I am making a nice progress. Now I am setting up a Dartboard. Is there a way to setup ctest to submit results to SSL webserver? Something like through SET(DROP_METHOD "https")? When I do SET(TRIGGER_SITE "https://";), I get 'libcurl was built with SSL disabl

[CMake] How Do I make a Custom Rule.

2006-10-02 Thread Peter Kahn
What is the right pattern to use in cmake to create a custom rule for converting a bunch of files?    In make I can define a custome rule for file types.      What is the right way to do this in cmake?  I can create a macro, but I'm unsure how to properly connect it to a target.  I can't seem to p

Re: [CMake] Testing whether a variable has already been assigned a non-null value

2006-10-02 Thread Alan W. Irwin
On 2006-10-02 10:39-0400 Brad King wrote: IF(DEFINED X) The MATCHES hack is left over from code written before IF(DEFINED ...) was implemented. Thanks, Brad, for pointing me to DEFINED. That was exactly what I needed. It is obviously there in the documentation, but I missed it and was trying

CMake FAQ updates (Was Re: [CMake] -fPIC flag on object build for static lib targets?)

2006-10-02 Thread Warren Turkal
On Monday 02 October 2006 08:38, Brad King wrote: > http://www.cmake.org/Wiki/CMake_FAQ#Does_CMake_support_.22convenience.22_li There are some references to 2.2 being the current release and having to use the current development for some features. Presumably, this info should be updated with res

[CMake] Success with Compaq Visual Fortran

2006-10-02 Thread Arjen Markus
Hello Brad, I tried your tip on adding SET(CMAKE_WINDOWS_OBJECT_PATH 1) to the platform module for the Fortran compiler and that did the trick! All works now - at least for my minimal test project. Thanks, Arjen ___ CMake mailing list CMake@cma

Re: [CMake] INSTALL( COMPONENT

2006-10-02 Thread Brad King
Filipe Sousa wrote: > I don't understand how COMPONENT works. From the INSTALL manual the > "COMPONENT argument specifies an installation component name with which > the install rule is associated, such as "runtime" or "development". > During component-specific installation only install rules assoc

[CMake] INSTALL( COMPONENT

2006-10-02 Thread Filipe Sousa
Hi! I don't understand how COMPONENT works. From the INSTALL manual the "COMPONENT argument specifies an installation component name with which the install rule is associated, such as "runtime" or "development". During component-specific installation only install rules associated with the given co

Re: [CMake] Testing whether a variable has already been assigned a non-null value

2006-10-02 Thread Brad King
Alan W. Irwin wrote: > I have noticed tests like > > IF("${VARIABLE}" MATCHES "^${VARIABLE}$") > > in, e.g., CheckFunctionExists.cmake where VARIABLE is a macro argument. > From > the context I assume it is a test for whether the actual variable used in > the macro call has been assigned a non-nu

Re: [CMake] -fPIC flag on object build for static lib targets?

2006-10-02 Thread Brad King
James Mansion wrote: >> Are you trying to link object files compiled without -fPIC into a shared >> library? That would never work; -fPIC is required for all objects in shared >> libraries. > > I'm guessing so - I want to do it too! Or rather, be able > to make a static library containing objec

Re: [CMake] quieter recompiles

2006-10-02 Thread Brad King
Joshua Blocher wrote: > After I have built my project and I update some of the project. > it spits out a bunch of lines with the percents even if the file has > been already compiled. Is there anyway to make its progress > updated on one line unless it has to re-compile something. It used to be to

Re: [CMake] linking with a .a file

2006-10-02 Thread Pierre Chifflier
On Sat, Sep 30, 2006 at 01:37:04PM -0700, Alan W. Irwin wrote: > My next suggestion would have been to use SET_TARGET_PROPERTIES with > LINK_FLAGS, but you have already tried that, and from your result above it > obviously puts /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a above in the > place whe