Re: [CMake] Where does cmake look for include files?

2008-08-08 Thread Marianne B. Wiese
Hi David It says Cmake 2.4 patch 8. Sorry. Marianne On Fri, Aug 8, 2008 at 4:19 PM, David Cole <[EMAIL PROTECTED]> wrote: > What does "cmake --version" report? There was no CMake 2.2.6. > > > On Fri, Aug 8, 2008 at 7:02 AM, Marianne B. Wiese <[EMAIL PROTECTED]>wrote: > >> Hello >> >> I am

[CMake] Re : Where does cmake look for include files?

2008-08-08 Thread Marianne B. Wiese
Hi Tonio There is a paragraph in the CMakelists.txt regarding OpenGL FIND_PACKAGE(OpenGL) IF(OPENGL_FOUND) SET(HAVE_GL 1) INCLUDE_DIRECTORIES(${OPENGL_INCLUDE_DIR}) ENDIF(OPENGL_FOUND) and it seems to work, because cmake generates a config.h file with the line: #define HAVE_GL 1

Re: [CMake] Cpack and cmake's install commands with absolute destination value

2008-08-08 Thread David Cole
DESTDIR will not work with Windows style paths including a "C:". In fact, it may not work at all on Windows. In general, it's a bad idea to force files into a C:/work (or any other non-standard) directory. Windows installers typically default to putting their programs and all of their files into th

Re: [CMake] Cpack and cmake's install commands with absolute destination value

2008-08-08 Thread Alan W. Irwin
On 2008-08-08 12:10+0400 Slaykovsky Vladimir wrote: I have a problem creating packages with cpack when using install commands with absolute detination value: install(TARGETS MyExecutable RUNTIME DESTINATION c:/work/cmake/cpack_build/install/bin) In this case cpack cannot find my target and doe

Re: [CMake] cmake 2.6-1 : no more GLEW support ? [closed

2008-08-08 Thread Antoine PREVOT
> That module was never part of CMake: Hi Bill, thanks for your reply. > $ cvs log FindGLEW.cmake > cvs log: nothing known about FindGLEW.cmake That leaves no doubt about it ! > It might have been part of your project, and you used > CMAKE_MODULE_PATH to find it? Googling it (code.google is my

Re: [CMake] Where does cmake look for include files?

2008-08-08 Thread David Cole
What does "cmake --version" report? There was no CMake 2.2.6. On Fri, Aug 8, 2008 at 7:02 AM, Marianne B. Wiese <[EMAIL PROTECTED]> wrote: > Hello > > I am trying to build FLTK in order to build the Orfeo Toolbox later. > Apparently CMake cannot find the headers for openGL and/or GLU > > I u

Re: [CMake] some basic questions

2008-08-08 Thread Bill Hoffman
[EMAIL PROTECTED] wrote: Hi all, I have some probably easy to answer questions, nevertheless I found no answer on the web yet. And I dont want to start separate threads because I think there will be one word only answers :) * can CMake handle multiple make processes or any other strategy to

Re: [CMake] Permissions for new folders and files

2008-08-08 Thread Alan W. Irwin
On 2008-08-08 10:54+0300 �� wrote: Thanks Yuri and Alan. But I develop cross-platform application (for Linux and Windows now) and it would be better if directory layout for my application will be the same on both platform. Or in this case I also should try to follow the FHS for Linux p

Re: [CMake] cmake 2.6-1 : no more GLEW support ?

2008-08-08 Thread Bill Hoffman
Antoine PREVOT wrote: Hi, I am actually testing cmake 2.6-1, and I can't find FindGLEW.cmake anymore in the Modules folder of both darwin sources and binary archives (cmake-2.6.1.tar & cmake-2.6.1-Darwin-universal.tar). Nothing about this in the ChangeLog. Bug or Feature ? :) That module w

[CMake] SWIG support throughts : naming conventions

2008-08-08 Thread Antoine PREVOT
Hi again, I am still struggling with SWIG, and tested various things. Since UseSWIG.cmake seems quite similar from 2.4 to 2.6-1, here are some throughts I had while using it. I don't know if my patches are relevant or not, I am probably using cmake the wrong way, but I'll give it a try ... Oh

[CMake] Single source, multiple binaries

2008-08-08 Thread Theodore Papadopoulo
Hi, I'm new to this list and a recent CMake user, so please accept in advance my apologies if these are a common question. I have looked at the various FAQs or through google but did not find any answers to my problems... 1) My main problem is that I'd like to compile the same source many

[CMake] some basic questions

2008-08-08 Thread Frans.Fuerst
Hi all, I have some probably easy to answer questions, nevertheless I found no answer on the web yet. And I dont want to start separate threads because I think there will be one word only answers :) * can CMake handle multiple make processes or any other strategy to make use of multiple proc

[CMake] cmake 2.6-1 : no more GLEW support ?

2008-08-08 Thread Antoine PREVOT
Hi, I am actually testing cmake 2.6-1, and I can't find FindGLEW.cmake anymore in the Modules folder of both darwin sources and binary archives (cmake-2.6.1.tar & cmake-2.6.1-Darwin-universal.tar). Nothing about this in the ChangeLog. Bug or Feature ? :) Tonio _

[CMake] Re : Where does cmake look for include files?

2008-08-08 Thread Antoine PREVOT
> Apparently CMake cannot find the headers for openGL and/or GLU > ... > I would expect cmake to be smart enough to find the glu > header file, since it finds the VCExpress.exe. Hi Marianne, Did you do anything to make cm guess that you want to inclulde GLU headers ? Dunno the detais of your pro

[CMake] Where does cmake look for include files?

2008-08-08 Thread Marianne B. Wiese
Hello I am trying to build FLTK in order to build the Orfeo Toolbox later. Apparently CMake cannot find the headers for openGL and/or GLU I use: Visual C++ 9 2008 CMake 2.2.6 FLTK 1.1.8 I put Gl.h and glu.h in E:\Program Files\Microsoft Visual Studio 9.0\VC\include\GL FLTK CMakelists.txt has th

[CMake] Re : GET_TARGET_PROPERTY issue

2008-08-08 Thread Antoine PREVOT
oops, sent off list :) > but the GET_TARGET_PROPERTY can't give me the PREFIX of > the library file. Is there a way for doing that properly ? Hi Alex, SET_TARGET_PROPERTIES is what you are looking for. Just after your ADD_LIBRARY statement, try : SET_TARGET_PROPERTIES(hello PROPE

[CMake] GET_TARGET_PROPERTY issue

2008-08-08 Thread Alexandre Abadie
Dear CMake users, I am trying to build python bindings of my C++ lib with boost::python and cmake 2.6. What I do is generating a dynamic library using the add_library command (I attached a piece of code based on boost::python first example at http://www.boost.org/doc/libs/1_34_1/libs/python/doc/tu

Re: [CMake] set_source_files_properties and configurations revisited

2008-08-08 Thread Slavoj Pisek
Hi Xavier, I have a similar problem. And I tried to solve it by adding option COMPILER_FLAGS_ to CMake's source code. There is my patch available at http://public.kitware.com/Bug/view.php?id=6493. I hope you find it useful and the patch will be added to CMake 2.7. Best regards Slavek > Hel

Re: [CMake] FindLAPACK bug

2008-08-08 Thread Alin M Elena
Hi Server, Can you send me your CMakeLists.txt and the output of cmake --version? Alin -- __ "...if the universities will not study useless subjects, who will?" G. F. Fitzgerald, Nature, 45/46, 392 (1892)

Re: [CMake] Project files are not listed when project?file?is?generated through "cmake -GKDevelop3"

2008-08-08 Thread Andreas Pakulat
On 07.08.08 23:17:08, Alexander Neundorf wrote: > On Thursday 07 August 2008, Andreas Pakulat wrote: > > On 06.08.08 23:30:44, Alexander Neundorf wrote: > > > On Wednesday 06 August 2008, Andreas Pakulat wrote: > > > > On 06.08.08 21:16:01, Alexander Neundorf wrote: > > > > > > ... > > > > > > > >

Re: [CMake] Permissions for new folders and files

2008-08-08 Thread Hendrik Sattler
Zitat von Брюков Юрий <[EMAIL PROTECTED]>: Thanks Yuri and Alan. But I develop cross-platform application (for Linux and Windows now) and it would be better if directory layout for my application will be the same on both platform. Actually better is a layout that can be adopted to the specif

[CMake] Cpack and cmake's install commands with absolute destination value

2008-08-08 Thread Slaykovsky Vladimir
I have a problem creating packages with cpack when using install commands with absolute detination value: install(TARGETS MyExecutable RUNTIME DESTINATION c:/work/cmake/cpack_build/install/bin) In this case cpack cannot find my target and doesn't include it in package. If I change detination to r

Re: [CMake] Permissions for new folders and files

2008-08-08 Thread Брюков Юрий
Thanks Yuri and Alan. But I develop cross-platform application (for Linux and Windows now) and it would be better if directory layout for my application will be the same on both platform. Or in this case I also should try to follow the FHS for Linux platform? By the way, my application consists