Re: [CMake] Disable warnings in Visual Studio Express 2008

2008-10-07 Thread Mehdi Rabah
hi, to disable useless warnings in visual studio 08, this works for me : add_definitions( /W3 /D_CRT_SECURE_NO_WARNINGS /wd4005 /wd4996 /nologo ) On Mon, Oct 6, 2008 at 9:37 AM, Timenkov Yuri [EMAIL PROTECTED] wrote: 2008/10/2 user790 user790 [EMAIL PROTECTED] Disabling specific

[CMake] qt standalone project : static link or dll copy (and how to do it?)

2008-09-25 Thread Mehdi Rabah
Hi, I need my qt project to be standalone when installing (cpack is taking care of the packaging). Can you tell me how to make a static link or how to copy the Qt dll? I'm using FintQt4. I tried to set the QT_CONFIG (found in FindQt4) to static, it doesn't seem to do what I expected.I also tried

[CMake] executable output path vs executable runtime path

2008-09-24 Thread Mehdi Rabah
Hi, I'm trying to copy files in the executable *output* directory but I don't know how to do it in the way that works in Eclipse CDT and Visual Studio. I set my variable executable_output_path (which was changed to cmake_runtime_output_path?) to $cmake_binary_dir/bin, and it works in Eclipse, but

Re: [CMake] Survey: Are you using the Eclipse CDT Generator?

2008-08-26 Thread Mehdi Rabah
Hi Vincent, To access the line of an error in the editor, you can use the Problems view. the compiler output is parsed and mapped into a list of errors/warnings. About the color, maybe Miguel have an answer.. (I'm also interested) -- Mehdi On Tue, Aug 26, 2008 at 2:50 PM, Vincent Gratsac

[CMake] visual studio working directory

2008-08-05 Thread Mehdi Rabah
Hi, I was wondering what is the default working directory while debugging a target in visual studio ? Is it $EXECUTABLE_OUTPUT_PATH ? I'm using a relative path for finding a file in my code and I have a problem because the working dir should be (for me) $EXECUTABLE_OUTPUT_PATH/Debug or

Re: [CMake] Fwd: Re: Survey: Are you using the Eclipse CDT Generator?

2008-07-16 Thread Mehdi Rabah
On Wed, Jul 16, 2008 at 11:52 AM, Mike Arthur [EMAIL PROTECTED] wrote: On Tuesday 15 July 2008 02:52:44 Miguel A. Figueroa-Villanueva wrote: This is just a simple survey to get an idea if there are many people successfully using the Eclipse CDT generator that has been out there for a

Re: [CMake] An example of DEFINE_SYMBOL please

2008-07-11 Thread Mehdi Rabah
On Thu, Jul 10, 2008 at 12:43 PM, Yuri Timenkov [EMAIL PROTECTED] wrote: On Monday 07 July 2008 19:59:24 Mehdi Rabah wrote: Hi, I need to set multiple symbols in one of my target of my project. I can't use add_definitions because I don't want to define those variable for all my

[CMake] DLL runtime error R6034

2008-07-08 Thread Mehdi Rabah
Hi, Does anyone had this error http://msdn.microsoft.com/en-us/library/ms235560(VS.80).aspx while using a DLL built this cmake? My application (also built with cmake) works fine on Release mode, I get this error only in Debug configuration. In the old project (visual studio files only) the

Re: [CMake] DLL runtime error R6034

2008-07-08 Thread Mehdi Rabah
On Tue, Jul 8, 2008 at 1:39 PM, Yuri Timenkov [EMAIL PROTECTED] wrote: On Tuesday 08 July 2008 15:29:51 Mehdi Rabah wrote: Hi Yuri, CMake generate both .embed.manifest and .intermediate.manifest (but no .CRT.manifest). Also, I have added VS 2008 redistribuable DLLs path in my %PATH

[CMake] An example of DEFINE_SYMBOL please

2008-07-07 Thread Mehdi Rabah
Hi, I need to set multiple symbols in one of my target of my project. I can't use add_definitions because I don't want to define those variable for all my targets, so I tried custom properties. set_target_properties( target PROPERTIES DEFINE_SYMBOL VALUE1 VALUE2 ) doesn't work : the function

Re: [CMake] MSVC90.dll and Debug configuration

2008-07-02 Thread Mehdi Rabah
use depends.exe on all the dlls that load prior to MSVC90.dll to figure out which one it is... On Wed, Jul 2, 2008 at 8:10 AM, Mehdi Rabah [EMAIL PROTECTED] wrote: Hi, I was wondering if it's normal if Visual Studio is trying to load the release version of the VC dll (MSVC90.dll instead

Re: [CMake] MSVC90.dll and Debug configuration

2008-07-02 Thread Mehdi Rabah
anything funky with your dlls that is not simply ADD_LIBRARY / TARGET_LINK_LIBRARIES simple stuff...? If you blow it away (the .dll, the .lib, the .pdb files...) and rebuild it from scratch does the same thing happen again? On Wed, Jul 2, 2008 at 9:45 AM, Mehdi Rabah [EMAIL PROTECTED

Re: [CMake] eclipse nmake include folders

2008-06-18 Thread Mehdi Rabah
On Tue, Jun 17, 2008 at 9:24 PM, Christian Ehrlicher [EMAIL PROTECTED] wrote: Bill Hoffman schrieb: Alexander Neundorf wrote: On Tuesday 17 June 2008, Christian Ehrlicher wrote: ... How do you define which vsvars32.bat (or vsvars64.bat) to use? I've more than one compiler on my system...

Re: [CMake] eclipse nmake include folders

2008-06-18 Thread Mehdi Rabah
On Wed, Jun 18, 2008 at 10:43 AM, Christian Ehrlicher [EMAIL PROTECTED] wrote: Von: Mehdi Rabah On Tue, Jun 17, 2008 at 9:24 PM, Christian Ehrlicher [EMAIL PROTECTED] wrote: Bill Hoffman schrieb: Alexander Neundorf wrote: On Tuesday 17 June 2008, Christian Ehrlicher wrote

Re: [CMake] eclipse nmake include folders

2008-06-18 Thread Mehdi Rabah
On Wed, Jun 18, 2008 at 5:31 PM, Miguel A. Figueroa-Villanueva [EMAIL PROTECTED] wrote: On Wed, Jun 18, 2008 at 8:10 AM, Mehdi Rabah wrote: On Wed, Jun 18, 2008 at 10:43 AM, Christian Ehrlicher wrote: Von: Mehdi Rabah On Tue, Jun 17, 2008 at 9:24 PM, Christian Ehrlicher wrote

[CMake] eclipse nmake include folders

2008-06-17 Thread Mehdi Rabah
Hi CMake folks, As always, I'm very impressed with the work you've done since the last version. I got my project working in Eclipse with the microsoft compiler in no time. About the Eclipse NMake generator : I suppose cmake have some default include folders (like C:\Program Files\Microsoft

Re: [CMake] How to make a target depends from target 'all'

2008-04-03 Thread Mehdi Rabah
On Wed, Apr 2, 2008 at 9:01 PM, Alexander Neundorf [EMAIL PROTECTED] wrote: On Wednesday 02 April 2008, you wrote: On Tue, Apr 1, 2008 at 10:15 PM, Alexander Neundorf ... ok but there must be some way to say that I want to rebuild my project when I call this specific sync target ? or am

Re: [CMake] How to make a target depends from target 'all'

2008-04-03 Thread Mehdi Rabah
On Thu, Apr 3, 2008 at 10:21 PM, Alexander Neundorf [EMAIL PROTECTED] wrote: On Thursday 03 April 2008, Mehdi Rabah wrote: ... ok then I re-explain : I have a custom rule sync that send binaries to a embedded computer. To make sure that the binaries that I send are the lastest version

Re: [CMake] How to make a target depends from target 'all'

2008-04-02 Thread Mehdi Rabah
On Tue, Apr 1, 2008 at 10:15 PM, Alexander Neundorf [EMAIL PROTECTED] wrote: On Tuesday 01 April 2008, Mehdi Rabah wrote: Hi, I have a target 'sync' in my project and I want to rebuild all the project when I call this target 'sync'. So I tried to make sync depends from the target 'all

Re: [CMake] Re: Re: IF( ${VAR} ) behaviour

2008-02-25 Thread Mehdi Rabah
Hi, Me and a work friend ran into the same problem a few days ago. May I suggest to the admins to add a little note in the IF doc about this common mistake ? Regards, -- Mehdi On Fri, Feb 22, 2008 at 4:08 PM, Fernando Cacciola [EMAIL PROTECTED] wrote: Sylvain Benner wrote: Now, why didn't

[CMake] Visual Studio Express 2005

2008-02-15 Thread Mehdi Rabah
:/program files//cl.exe is not able to compile a simple test program. ... ... LINK : fatal error : unable to open 'user32.lib' (even if LIB and LIBPATH variable is correctly set) Is anyone had this problem, and how did you solved it ? Regards -- Mehdi Rabah

Re: [CMake] Visual Studio Express 2005

2008-02-15 Thread Mehdi Rabah
perfect! that's the information I needed. I already had the sdk installed, but not properly configured to work with vs express. (sorry for the trouble, but I wasn't able to find the faq info with google). On Fri, Feb 15, 2008 at 3:34 PM, Bill Hoffman [EMAIL PROTECTED] wrote: Bill Hoffman wrote:

Re: [CMake] Re: CMake Digest, Vol 43, Issue 105

2007-11-30 Thread Mehdi Rabah
Hi Hendrik, On Nov 30, 2007 12:20 AM, Hendrik Sattler [EMAIL PROTECTED] wrote: Am Donnerstag 29 November 2007 schrieb FĂ©lix C. Morency: What I'm talking about is I think it would be a good idea to have one (and only one) installer generator that supports multiple platforms in order to:

[CMake] Re: Deb and RPM package generation modules

2007-07-12 Thread Mehdi Rabah
Hi Vitor, * Hi everyone, ** ** In case someone is interested in linux package generation within cmake, ** I've started to improve the existing scripts ** (http://www.cmake.org/Wiki/CMakeUserUseRPMTools ** http://www.cmake.org/Wiki/CMakeUserUseRPMTools ** and

[CMake] Re: Deb and RPM package generation modules

2007-07-12 Thread Mehdi Rabah
weeks) Thanks a lot one more time and I'll try the CMAKE_MODULE_PATH tip. You're welcome. Please keep the mailing list in the CC :) Regards, Mehdi Rabah ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] Deb and RPM package generation modules

2007-07-04 Thread Mehdi Rabah
Hi everyone, In case someone is interested in linux package generation within cmake, I've started to improve the existing scripts (http://www.cmake.org/Wiki/CMakeUserUseRPMTools and http://www.cmake.org/Wiki/CMakeUserUseDebian) to make both debian and rpm packaging easier. Here is links to

[CMake] jokers (*) in cmake -E echo

2007-07-02 Thread Mehdi Rabah
help Regards, -- Mehdi Rabah ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] jokers (*) in cmake -E echo

2007-07-02 Thread Mehdi Rabah
(apply them) depending on what you are doing. James Mehdi Rabah wrote: Hi everyone, I have really simple problem but I can't find the solution : ADD_CUSTOM_COMMAND( OUTPUT ${SPEC_FILE} COMMAND ${CMAKE_COMMAND} -E echo /* echo.txt ) With this command, cmake generate, using VERBATIM

Re: [CMake] add_custom_target dependencies error

2007-06-29 Thread Mehdi Rabah
: What is the error output now that you have removed the comma? On 6/27/07, Mehdi Rabah [EMAIL PROTECTED] wrote: Quoting Mehdi Rabah mehdi.rabah at gmail.com http://www.cmake.org/mailman/listinfo/cmake: * Hello,* *** I'm seeking for help for a weird error that is happening to me.* * I

Re:[CMake] add_custom_target dependencies error

2007-06-27 Thread Mehdi Rabah
Quoting Mehdi Rabah mehdi.rabah at gmail.comhttp://www.cmake.org/mailman/listinfo/cmake : * Hello,* *** I'm seeking for help for a weird error that is happening to me.* * I have a cmake project, with a lot of target, two of them are named* * subproject1_deb, and subproject2_deb* *** $ make

[CMake] add_custom_target dependencies error

2007-06-26 Thread Mehdi Rabah
Hello, I'm seeking for help for a weird error that is happening to me. I have a cmake project, with a lot of target, two of them are named subproject1_deb, and subproject2_deb $ make help: The following are some of the valid targets for this Makefile: ... all (the default if no target is

[CMake] [CPACK] one project, many packages ?

2007-06-26 Thread Mehdi Rabah
Hi again, Is it possible to create many packages from one project ? If my project have many subproject for example ? Regards, -Mehdi ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] where is the INSTALL command ?

2007-06-06 Thread Mehdi Rabah
version ? (in regard of the INSTALL command) I mean, is there a cmake module which contain the INSTALL, or some file that I can include in my project ? Regards, -- Mehdi Rabah ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo

[CMake] CPACK_PACKAGE_VERSION deprecated ?

2007-05-11 Thread Mehdi Rabah
Hi, I wanted to ask you why does this command : set ( CPACK_PACKAGE_VERSION_MAJOR 2 ) set ( CPACK_PACKAGE_VERSION_MINOR 5 ) set ( CPACK_PACKAGE_VERSION_PATCH 3 ) works, when this one : set ( CPACK_PACKAGE_VERSION 2.1.3 ) doesn't work ? I'm using cmake 2.5-20070219 on linux ubuntu Regards,

[CMake] simple question

2006-12-15 Thread Mehdi Rabah
Hi everyone, I'm new to cmake, and there's something simple I don't know how to do. Here what I wrote in CMakeLists.txt so far: project(test) subdirs(src) and in src directory I have another CMakeLists.txt : add_executable(testApp Applications/testApp.cpp) and what I want is that the

Re: [CMake] simple question

2006-12-15 Thread Mehdi Rabah
work, but with a project _that_ large I would want to keep the project directories and the build directories distinctly separate. Good Luck. -- Mike Jackson Senior Research Engineer Innovative Management Technology Services On Dec 15, 2006, at 8:26 AM, Mehdi Rabah wrote: Hi everyone, I'm