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

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

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: ... Hmm, what was it...

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] 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_CONFIG 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

[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

[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

[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

[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

[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

[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] 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 ...

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

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

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

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 use:

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

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 the

[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] 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 trying to build