[CMake] Can't set EXECUTABLE_OUTPUT_PATH ?

2007-11-24 Thread Convey Christian J NPRI
Hi guys, I'm using CMake 2.4-7 on Ubuntu Linux 7.10. I have a trivial CMakeLists.txt file in which I'm just trying to specify where my build programs will go. (This is a distilled version of a larger, actually useful CMakeLists.txt file.): PROJECT(IVP_LOCAL) SET(EXECUTABLE_OUTPUT_PATH

[CMake] Patch to FindQt4.cmake for supporting moc compiler options

2007-11-24 Thread Miguel A. Figueroa-Villanueva
Hello, I would like to propose the following patch or something similar to add support for moc compiler options. Currently, one can do the following: SET(moc-sources foo.h bar.h) QT4_WRAP_CPP(sources ${moc-sources}) With the attached patch one could pass also options to be invoked with each

[CMake] DLL import/export flag differentiation

2007-11-24 Thread Nicholas Yue
Hi, I am attempting to migrate the ANN build to CMake for my own ease of cross platform maintenance. The cmake configuration works fine on OSX but have problem Windows because of the additional linkage requirement. I understand that there is no per target DEFINITIONS setup so I'd like to

Re: [CMake] Can't set EXECUTABLE_OUTPUT_PATH ?

2007-11-24 Thread Miguel A. Figueroa-Villanueva
On Nov 24, 2007 4:52 PM, Convey Christian J NPRI [EMAIL PROTECTED] wrote: Hi guys, I'm using CMake 2.4-7 on Ubuntu Linux 7.10. I have a trivial CMakeLists.txt file in which I'm just trying to specify where my build programs will go. (This is a distilled version of a larger, actually useful

[CMake] Changing compiler at runtime

2007-11-24 Thread Gonzalo Garramuño
Recently, Josef Karthauser was requesting the ability to change the compiler at runtime. I am now more or less seconding that request or asking for workarounds. The situation: I have a complex project built for windows that has several plug-ins that, for each version of the project, needs

Re: [CMake] Changing compiler at runtime

2007-11-24 Thread Brandon Van Every
On Nov 25, 2007 2:12 AM, Gonzalo Garramuño [EMAIL PROTECTED] wrote: Recently, Josef Karthauser was requesting the ability to change the compiler at runtime. I am now more or less seconding that request or asking for workarounds. The situation: I have a complex project built for

Re: [CMake] DLL import/export flag differentiation

2007-11-24 Thread Brandon Van Every
On Nov 24, 2007 7:53 PM, Nicholas Yue [EMAIL PROTECTED] wrote: I understand that there is no per target DEFINITIONS setup so I'd like to hear advice from experience cmake user how I should configure my build. There is, however, a REMOVE_DEFINITIONS command, which you could use judiciously to