Re: [CMake] VS8 and cmake 2.2.3 [Fwd: RE: [Fwd: visual studio 2005 free version]]

2006-01-26 Thread William A. Hoffman
At 07:10 PM 1/26/2006, Steve Pieper wrote: >Hi - > >Is anyone using the VC++ Express 2005? We're running into the problems listed >below. Unless there's a known workaround I'll put this in the bugtracker. > >Thanks, >Steve Is there any more information on this? CMakeError.log file information?

Re: [CMake] Adding files in the "Header files" in MSVC

2006-01-26 Thread William A. Hoffman
At 07:23 PM 1/26/2006, Rodrigo Madera wrote: >How can I add files to the MSVC "Header files" section? Just put the .h files in the sources for that target. They will be ignored in the makefiles and will show up in the project files. -Bill ___ CMake ma

Re:[CMake] CMake: Problem with reading files with semicolons

2006-01-26 Thread Zachary Pincus
This is something that would make my life a lot easier too. Here's my use-case: I need to configure a file with a variable number of nearly-identical blocks of text. I would love to read in the "master text" with FILE(READ...), and then modify that text with STRING(CONFIGURE...) several tim

[CMake] Adding files in the "Header files" in MSVC

2006-01-26 Thread Rodrigo Madera
How can I add files to the MSVC "Header files" section? Thanks for the time, Rodrigo ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: Fwd: [CMake] how to add a ressource file in a VS7 project ?

2006-01-26 Thread Rodrigo Madera
On 1/26/06, Brad King <[EMAIL PROTECTED]> wrote: > Rodrigo Madera wrote: > > Extending the MSVC questions: > > > > * How can I set project exe information like version, company name, etc? > > Don't these things go in .rc files? Mind me... what a stupid question that was... ___

[CMake] VS8 and cmake 2.2.3 [Fwd: RE: [Fwd: visual studio 2005 free version]]

2006-01-26 Thread Steve Pieper
Hi - Is anyone using the VC++ Express 2005? We're running into the problems listed below. Unless there's a known workaround I'll put this in the bugtracker. Thanks, Steve Original Message Subject: RE: [Fwd: visual studio 2005 free version] Date: 24 Jan 2006 10:54:47 -050

Re: [CMake] CMake and idl files... (LONG email - read if you have time)

2006-01-26 Thread David Cole
Is anybody else out there using CMake to build IDL files with MIDL? If you are, you might have to tweak things slightly if we make this change in the Visual Studio 7 generator... Anyone? ___ CMake mailing list CMake@cmake.org http://www.cmake.org/ma

Re: [CMake] CMAKE_CONFIGURATION_TYPES -- still in use? How to use?

2006-01-26 Thread Brad King
Zachary Pincus wrote: Let me recap to make sure I've got it: *Configure time* operations (e.g. WRITE_FILE, say) must place configuration-specific build files in every location specified by CMAKE_CONFIGURATION_TYPES, because the build-time config is unknown, or may change. CMAKE_CONFIGURA

Re: [CMake] CMAKE_CONFIGURATION_TYPES -- still in use? How to use?

2006-01-26 Thread Zachary Pincus
Let me recap to make sure I've got it: *Configure time* operations (e.g. WRITE_FILE, say) must place configuration-specific build files in every location specified by CMAKE_CONFIGURATION_TYPES, because the build-time config is unknown, or may change. *Build time* operations must use the C

Re: [CMake] Strangeness with ARGVn variables

2006-01-26 Thread Zachary Pincus
On Jan 26, 2006, at 8:43 AM, Brad King wrote: Zachary Pincus wrote: I'm having some strange issues using the ARGVn variables in macros. Specifically, even when one of those variables has a value, they seem to fail IF tests (and similar). Perhaps this is best illustrated with an example:

Re: [CMake] CMAKE_CONFIGURATION_TYPES -- still in use? How to use?

2006-01-26 Thread Brad King
Zachary Pincus wrote: Thanks for the explanation of the configuration types system. How does this interact with files installed with INSTALL_FILES(...)? Specifically, do I need to issue a separate INSTALL_FILES command for each configuration type (assuming that the files are placed different

Re: [CMake] ctest and cppunit

2006-01-26 Thread Brad King
Mike Talbot wrote: Hello, I am trying to use cmake and ctest to run unit tests using cppunit. The unit tests are built as shared libraries and then passed to the cppunit test harness (DllPlugInTesterd_dll.exe) to run them. My CMakeLists.txt looks like this: ADD_LIBRARY(MyUnitTest SHARED MyUni

[CMake] CMake and idl files... (LONG email - read if you have time)

2006-01-26 Thread David Cole
For an input idl file named "AxVJV.idl" the Visual Studio .NET 2003 wizard (by Microsoft) produces sections like this in the vcproj files: CMake 2.2.3 (and live CVS CMake) produces sections like this: I think they should both produce sections like this (differences from

Re: [CMake] Problems compiling cmake cvs on win32

2006-01-26 Thread Christian Ehrlicher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brad King schrieb: > Christian Ehrlicher wrote: > >> I've some problems compiling cmake cvs with vs2005 express. >> I have installed PSDK (odbc32.lib is in PSDK MDAC package) > > > CMake should support building other projects with this compiler but

Re: [CMake] Problems compiling cmake cvs on win32

2006-01-26 Thread Brad King
Christian Ehrlicher wrote: I've some problems compiling cmake cvs with vs2005 express. I have installed PSDK (odbc32.lib is in PSDK MDAC package) CMake should support building other projects with this compiler but the source of CMake itself has not yet been updated to support building with it.

Re: [CMake] Strangeness with ARGVn variables

2006-01-26 Thread Brad King
Zachary Pincus wrote: I'm having some strange issues using the ARGVn variables in macros. Specifically, even when one of those variables has a value, they seem to fail IF tests (and similar). Perhaps this is best illustrated with an example: #-- MACRO(foo) IF(ARGV0) MESSAGE("ON

Re: [CMake] Once again: Nasm/Yasm support.

2006-01-26 Thread Brad King
Rodrigo Madera wrote: I subscribed to this list because there is still no out-of-the-box support for assembly source code compilation (or I am astoundingly ignorant). 1) How can I do that for Nasm/Yasm support? 2) Is there any plan to do so on a release? 3) Since it's open source and all about s

Re: [CMake] how to add a ressource file in a VS7 project ?

2006-01-26 Thread Xavier Delannoy
On Thu, 26 Jan 2006 10:49:58 -0500 Brad King <[EMAIL PROTECTED]> wrote: > xavier delannoy wrote: > > - How can I add a ressource file (.rc file) in a VS7 project (Win32 > > Console project) ? > > Just include the .rc file in the list of source files. > > > - How to set specific args to mc.exe (M

Re: [CMake] CMAKE_SHARED_LINKER_FLAGS_ flag ignored on VC generators

2006-01-26 Thread Brad King
[EMAIL PROTECTED] wrote: Hi I'm using a copy of CMake from cvs and have found that the CMAKE_SHARED_LINKER_FLAGS_ flags are ignored by the VC generators. I have made a fix to the localVC7 generator -see below - but vc6 and perhaps vc8 still need attention. Please create a bug entry and at

Re: Fwd: [CMake] how to add a ressource file in a VS7 project ?

2006-01-26 Thread Brad King
Rodrigo Madera wrote: Extending the MSVC questions: * How can I set project exe information like version, company name, etc? Don't these things go in .rc files? -Brad ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmak

Re: [CMake] appending values to properties

2006-01-26 Thread Brad King
Alexander Neundorf wrote: Hi, there are properties like OBJECT_DEPENDS and ADDITIONAL_MAKE_CLEAN_FILES. Add entries to them is quite tedious: GET_SOURCE_FILE_PROPERTY(_depends file.cpp OBJECT_DEPENDS) IF(_depends) SET(_depends ${_depends} anotherdependfile.h) ELSE(_depends)

Fwd: [CMake] how to add a ressource file in a VS7 project ?

2006-01-26 Thread Rodrigo Madera
-- Forwarded message -- From: Rodrigo Madera <[EMAIL PROTECTED]> Date: Jan 26, 2006 8:05 AM Subject: Re: [CMake] how to add a ressource file in a VS7 project ? To: Brad King <[EMAIL PROTECTED]> Extending the MSVC questions: * How can I set project exe information like version, c

Re: [CMake] ADD_CUSTOM_COMMAND, 2.2.3 vs. 2.0.6

2006-01-26 Thread Brad King
Egil Brendsdal wrote: ADD_CUSTOM_COMMAND in cmake 2.2.3 behaves differently from version 2.0.6; Using the latest version, the 'custom target' is not included in the makefile. (As an illustration, see the output from Linux 'grep . CMakeLists.txt cmd; sh cmd' at the end of the mail.) Does anyone

Re: [CMake] how to add a ressource file in a VS7 project ?

2006-01-26 Thread Brad King
xavier delannoy wrote: - How can I add a ressource file (.rc file) in a VS7 project (Win32 Console project) ? Just include the .rc file in the list of source files. - How to set specific args to mc.exe (Microsoft Message Compiler) ? When is this tool being invoked in your setup? -Brad

Re: AW: AW: [CMake] CMake: Problem with reading files with semicolons

2006-01-26 Thread Brad King
wedekind wrote: you are generally right. But we have different build-processes for the same source-code at work. That means I cannot introduce this variable in the source code for everyone, this would break the non-cmake builds. Using CMake to insert this variable and run CONFIGURE_FILE afterwa

[CMake] Once again: Nasm/Yasm support.

2006-01-26 Thread Rodrigo Madera
Dear folks: I subscribed to this list because there is still no out-of-the-box support for assembly source code compilation (or I am astoundingly ignorant). 1) How can I do that for Nasm/Yasm support? 2) Is there any plan to do so on a release? 3) Since it's open source and all about sharing, how

AW: AW: [CMake] CMake: Problem with reading files with semicolons

2006-01-26 Thread wedekind
Hello Philippe, you are generally right. But we have different build-processes for the same source-code at work. That means I cannot introduce this variable in the source code for everyone, this would break the non-cmake builds. Using CMake to insert this variable and run CONFIGURE_FILE afterwards

[CMake] CMAKE_SHARED_LINKER_FLAGS_ flag ignored on VC generators

2006-01-26 Thread Ian . Appru
Title: CMAKE_SHARED_LINKER_FLAGS_ flag ignored on VC generators Hi I'm using a copy of CMake from cvs and have found that the CMAKE_SHARED_LINKER_FLAGS_ flags are ignored by the VC generators. I have made a fix to the localVC7 generator -see below - but vc6 and perhaps vc8 still need atte

Re: AW: [CMake] CMake: Problem with reading files with semicolons

2006-01-26 Thread Philippe Poilbarbe
wedekind a écrit : ... does not match any semicolons... Therefore I cannot modify C++ source-code files with cmake, at least not the way I have tried. Can you tell me how to insert a line of code (an #include in my case) into an existing source file with CMake? ... Normally this kind of thing

AW: [CMake] CMake: Problem with reading files with semicolons

2006-01-26 Thread wedekind
Hello Bill, unfortunately it seems that FILE(READ ...) removes all semicolons when reading the file contents into a variable. I have tried what you have suggested, but it did not work :( I think that it is not a problem of the output-routines in CMake, since the REGEX match in this code snippet: