Re: [CMake] Building a "mega" library after building smaller component libraries?

2010-12-13 Thread Alan W. Irwin
On 2010-12-13 18:13-0500 Clifford Yapp wrote: Can anyone tell me what the best way is (without a whole lot of rebuilding) to take several individual libraries and combine them into a single large library? It appears someone has already pointed you to the (lack of) convenience library reference

Re: [CMake] Building a "mega" library after building smaller component libraries?

2010-12-13 Thread Clifford Yapp
Ah, I'm informed that what I was after was this: http://www.cmake.org/Wiki/CMake_FAQ#Does_CMake_support_.22convenience.22_libraries.3F and I won't be able to duplicate this result with CMake (at least, using that mechanism.) CY On Mon, Dec 13, 2010 at 6:13 PM, Clifford Yapp wrote: > Can anyone

[CMake] Multiple Configurations + Optional Targets Depending on Found Libraries

2010-12-13 Thread Gregory Peele ARA/CFD
I trying to support multiple configurations in a single binary directory (in my case for MSVC 2010) and ran into a situation that I'm not sure how to tackle. I have a library target which links against OpenSceneGraph. If OpenSceneGraph is not found, that target and everything that depends on

[CMake] Building a "mega" library after building smaller component libraries?

2010-12-13 Thread Clifford Yapp
Can anyone tell me what the best way is (without a whole lot of rebuilding) to take several individual libraries and combine them into a single large library? In our autotools Makefile.am, we have the following: libbrlcad_la_SOURCES = libbrlcad_la_LDFLAGS = -version-info 19:1 libbrlcad_la_LIBADD

Re: [CMake] cmake find_package() returns?

2010-12-13 Thread Ryan Pavlik
Not sure what you mean - usually there is documentation at the top of the file listing the variables that it sets. Ryan On Mon, Dec 13, 2010 at 2:34 PM, luxInteg wrote: > Is there a way to interrogate a FindXXX.cmake file tofind out what it > returns? >

[CMake] cmake find_package() returns?

2010-12-13 Thread luxInteg
Is there a way to interrogate a FindXXX.cmake file tofind out what it returns? ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check th

[CMake] Cross-compiling, CMAKE_C_FLAGS, and configure-time compiler tests

2010-12-13 Thread Justin Holewinski
I am experiencing a cross-compiling issue that I believe is related to how toolchain files interact with the configure-time compiler checks. For reference, I am targeting the iOS 4.2 SDK. I have a toolchain file that sets CMAKE_C_FLAGS, CMAKE_CXX_FLAGS, CMAKE_C_LINK_FLAGS, and CMAKE_CXX_LINK_FLAG

[CMake] Component support in FindPackageHandleStandardArgs

2010-12-13 Thread Johannes Zarl
Hello list, During a recent discussion about find_package modules and components, the question came up how to best use FindPackageHandleStandardArgs (FPHSA) with components. One solution that currently works is to call FPHSA several times with the qualified component name as "package name": # Ha

Re: [CMake] cmake qt4 opengl

2010-12-13 Thread Christian Ehrlicher
Original-Nachricht > Datum: Mon, 13 Dec 2010 12:48:23 + > Von: luxInteg > An: cmake@cmake.org > Betreff: [CMake] cmake qt4 opengl > Greetings, > > This is towards banishing my cmake/qt4 idiocy. > > > my CMakeLists.txt has these:- > > > FIND_PACKAGE( Qt4 REQUIRED )

[CMake] cmake qt4 opengl

2010-12-13 Thread luxInteg
Greetings, This is towards banishing my cmake/qt4 idiocy. my CMakeLists.txt has these:- FIND_PACKAGE( Qt4 REQUIRED ) set( QT_USE_OPENGL TRUE ) set( QT_USE_QTSVG TRUE ) SET( QT_USE_QTXML TRUE ) SET( QT_USE_QT3SUPPORT TRUE ) SET( QT_USE_QTNETWORK TRUE ) SET( QT_USE_QTASSISTANT