[CMake] Global flags for creating static libraries

2012-12-05 Thread Evan Pipho
I am looking for a way to set global flags for the librarian when creating static libraries, similar to CMAKE_SHARED_LINKER_FLAGS or CMAKE_EXE_LINKER_FLAGS. This would facilitate things like using 3rd party libraries that already use cmake without having to modify their CMakeLists.txt to set these

[CMake] linking static library.

2012-12-05 Thread Łukasz Tasz
Hi all, I have a problem with making static library. There is behaviour which is not clear for me. I have long list of objects to be linked. For shared library linking is done as one g++ command, For static sources are grouped into few groups and there is sequence of: ar cr libnanme obj_list1 ar

Re: [CMake] ActiveQt with CMake?

2012-12-05 Thread Stephen Kelly
Pau Garcia i Quiles wrote: > On Wed, Dec 5, 2012 at 5:00 PM, Stephen Kelly > wrote: > >> Pau Garcia i Quiles wrote: >> > I would say most people are not using ActiveQt and CMake together, >> > plain and simple. >> > >> > For the very few who do, they are probably only using the Qt >> > applicati

Re: [CMake] ActiveQt with CMake?

2012-12-05 Thread Pau Garcia i Quiles
On Wed, Dec 5, 2012 at 5:00 PM, Stephen Kelly wrote: > Pau Garcia i Quiles wrote: > > I would say most people are not using ActiveQt and CMake together, plain > > and simple. > > > > For the very few who do, they are probably only using the Qt application > > as a client (i. e. load an ActiveX co

Re: [CMake] ActiveQt with CMake?

2012-12-05 Thread Stephen Kelly
Pau Garcia i Quiles wrote: > I would say most people are not using ActiveQt and CMake together, plain > and simple. > > For the very few who do, they are probably only using the Qt application > as a client (i. e. load an ActiveX component), not to write servers. Aha, and the implication is that

Re: [CMake] ActiveQt with CMake?

2012-12-05 Thread Pau Garcia i Quiles
On Wed, Dec 5, 2012 at 4:32 PM, Stephen Kelly wrote: > > I think a few new macros (CMake, not CPack) are needed to generate the > > IDL, then compile it to the type library (.tlb), then combine it with the > > executable. Amb maybe even one that combines those three in one, which > > will be wh

Re: [CMake] ActiveQt with CMake?

2012-12-05 Thread Stephen Kelly
Pau Garcia i Quiles wrote: > On Tue, Dec 4, 2012 at 11:28 AM, Stephen Kelly > wrote: > >> >> Hi there, >> >> I'm attempting to write a unit test for the Qt 5 ActiveQt module: >> >> https://codereview.qt-project.org/#change,41554 >> >> The problem is that I don't have any prior experience with A

Re: [CMake] ActiveQt with CMake?

2012-12-05 Thread Pau Garcia i Quiles
On Tue, Dec 4, 2012 at 11:28 AM, Stephen Kelly wrote: > > Hi there, > > I'm attempting to write a unit test for the Qt 5 ActiveQt module: > > https://codereview.qt-project.org/#change,41554 > > The problem is that I don't have any prior experience with ActiveQt, and in > particular ActiveQt with

[CMake] CMAKE_MAKE_PROGRAM is not set - Win7 and Visual Studio 10

2012-12-05 Thread Benoît Thiébault
Hi everyone, I am trying to compile VTK on Windows 7 64bits with Visual Studio 10. But when I click on "configure" in CMake, it shows the following error message: CMake Error: CMake was unable to find a build program corresponding to "Visual Studio 10 Win64". CMAKE_MAKE_PROGRAM is not set. Yo

Re: [CMake] error compiling 2.8.10.1 on SunOS/sparc

2012-12-05 Thread Martin Koller
On Wednesday 05 December 2012 00:11:46 Bill Hoffman wrote: > On 12/4/2012 5:16 PM, Martin Koller wrote: > > I'm trying to compile cmake on Solaris 5.10 > > (uname -a: SunOS eisux111 5.10 Generic_144500-19 sun4v sparc > > SUNW,SPARC-Enterprise-T5120 Solaris) > > but I get: > > > > [ 1%] Built targ