Re: [CMake] multiple CMakeLists.txt files in the same directory

2007-08-15 Thread Jon W
On 8/15/07, Mike Jackson <[EMAIL PROTECTED]> wrote: > On 8/14/07, Jon W <[EMAIL PROTECTED]> wrote: > > On 8/14/07, Filip Brcic <[EMAIL PROTECTED]> wrote: > > > Дана уторак 14 август 2007, Jon W је написао(ла): > > > > > > > Is it

Re: [CMake] multiple CMakeLists.txt files in the same directory

2007-08-14 Thread Jon W
On 8/14/07, Filip Brcic <[EMAIL PROTECTED]> wrote: > Дана уторак 14 август 2007, Jon W је написао(ла): > > > > > Is it possible to have multiple CMakeLists.txt files within the same > > > > > directory? (We have projects that span/share multiple director

Re: [CMake] multiple CMakeLists.txt files in the same directory

2007-08-14 Thread Jon W
> > > Is it possible to have multiple CMakeLists.txt files within the same > > > directory? (We have projects that span/share multiple directories, > > > and currently all of the vcproj files are within a single directory > > > for easy editing.) > > > > > > Or, is the suggested route to create a d

[CMake] multiple CMakeLists.txt files in the same directory

2007-08-14 Thread Jon W
Is it possible to have multiple CMakeLists.txt files within the same directory? (We have projects that span/share multiple directories, and currently all of the vcproj files are within a single directory for easy editing.) Or, is the suggested route to create a directory structure such as, / s

[CMake] rebuilding technique

2007-08-08 Thread Jon W
How should a visual studio developer rebuild individual projects within the ide? It has been mentioned on the alias that one should no longer use the visual studio "rebuild" option as that also rebuilds the cmakelists.txt. Is the only way to rebuild source files without rebuilding cmakelists.txt

Re: [CMake] linker library order

2007-08-07 Thread Jon W
On 8/7/07, Philip Lowman <[EMAIL PROTECTED]> wrote: > Jon W wrote: > > I need to have a specific library linked before all other libraries. > > For example, I need foo.lib linked before the defaults, " > > kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.

[CMake] linker library order

2007-08-07 Thread Jon W
I need to have a specific library linked before all other libraries. For example, I need foo.lib linked before the defaults, " kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib". What would be the best way

[CMake] relinking of exe

2007-07-26 Thread Jon W
I have a visual studio project that creates an exe. Even after the exe is linked and up to date, the next build will relink the exe. I'm trying to determine if this is a configuration issue, or a cmake issue. Has anybody else seen this behavior? Thanks, Jon _

[CMake] Re: rc compile options in visual studio

2007-07-19 Thread Jon W
> When using visual studio, the resource compile options are updated > with the cxx preprocessor definitions and the cxx include paths. > > How can I remove all of the cxx preprocessor/include definitions and > redefine the options? I haven't had any luck trying to reset the > options such as: >

[CMake] Re: rc compile options in visual studio

2007-07-18 Thread Jon W
On 7/17/07, Jon W <[EMAIL PROTECTED]> wrote: When using visual studio, the resource compile options are updated with the cxx preprocessor definitions and the cxx include paths. How can I remove all of the cxx preprocessor/include definitions and redefine the options? I haven't h

[CMake] rc compile options in visual studio

2007-07-17 Thread Jon W
When using visual studio, the resource compile options are updated with the cxx preprocessor definitions and the cxx include paths. How can I remove all of the cxx preprocessor/include definitions and redefine the options? I haven't had any luck trying to reset the options such as: set(CMAKE_RC

[CMake] lib/exe output within various levels of the binary directory

2007-07-10 Thread Jon W
I am trying to get the following directory configuration for lib/exe output within visual studio: bin/Debug/aa.dll bin/Release/aa.dll bin/Release/models/bb.dll bin/Release/models/bb.dll The bin/Debug and bin/Release directories are the defaults when using "bin" as the binary directory. How

[CMake] add files (that aren't compiled) to vs projects

2007-06-29 Thread Jon W
Is it possible to add files to Visual Studio projects that aren't compiled? From what I can tell, the ide will only show files that are part of ADD_LIBRARY or ADD_EXECUTABLE. Thanks, Jon ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mai

Re: [CMake] Multiple folder depths in VS projects

2007-06-28 Thread Jon W
On 6/28/07, Sylvain Benner <[EMAIL PROTECTED]> wrote: Jon W a écrit : > Is there a way to have more than one level of folders in Visual Studio > projects? Try this : For your foo project SOURCE_GROUP("Source Files/Dir1" FILES source1.h source1.cpp ...) or SOURCE_GRO

[CMake] Multiple folder depths in VS projects

2007-06-27 Thread Jon W
Is there a way to have more than one level of folders in Visual Studio projects? For example, within the Solution Explorer have Dir1 and Dir2 under the Source Files folder: --- Solution 'foo' - foo - Source Files + Dir1 + Dir2 + Head

Re: [CMake] compiling idl files

2007-06-22 Thread Jon W
TRUE ) ENDFOREACH(_in_FILE ${ARGN}) ENDMACRO (MACRO_ADD_INTERFACES) Regards, Guilherme Balena Versiani. Jon W wrote: > Does anybody have a CMakelists.txt example on how to properly compile > idl files into visual studio projects? I'm not sure if I need to use > ADD_CUSTOM_COMMAND

[CMake] compiling idl files

2007-06-22 Thread Jon W
Does anybody have a CMakelists.txt example on how to properly compile idl files into visual studio projects? I'm not sure if I need to use ADD_CUSTOM_COMMAND or just list the idl files in the sources, etc.. Thanks, Jon ___ CMake mailing list CMake@cmak

[CMake] resetting /VERSION and /STACK linker options within visual studio

2007-06-19 Thread Jon W
I'm in the process of porting existing visual studio projects to cmake. As such, I want to duplicate the compiler and linker options of the existing project files. I'm using 2.4.7 RC10. The first question is, how do I get rid of the /VERSION:0.0 linker flag? This flag seems to be generated by

Re: [CMake] Unable to compile a simple test program

2007-06-15 Thread Jon W
Here is the download link: http://www.cmake.org/files/v2.4/ On 6/15/07, Lars Nygard <[EMAIL PROTECTED]> wrote: Hi David, Thaks for your email. I tried what you said but I still get the same error. Where can I download cmake 2.4.7? The latest version on the site is 2.4.6... greets, Lars Nygard

[CMake] Re: compiling foo.c as a c++ file for visual studio projects

2007-06-15 Thread Jon W
On 6/15/07, Jon W <[EMAIL PROTECTED]> wrote: I'm using cmake to generate solutions for Visual Studio 2003. With several of the projects I need to compile the *.c files as c++ code. I'm trying to get the /TP flag to override the /TC flag that is automatically generated by cmake

[CMake] compiling foo.c as a c++ file for visual studio projects

2007-06-15 Thread Jon W
I'm using cmake to generate solutions for Visual Studio 2003. With several of the projects I need to compile the *.c files as c++ code. I'm trying to get the /TP flag to override the /TC flag that is automatically generated by cmake, but not having much luck. I've read the mailing archive, and

[CMake] visual studio compiler option not being set

2007-06-08 Thread Jon W
I'm just beginning to learn cmake, and am trying to add the "/EHac-" option to the additional command line options. I'm setting the CMAKE_C_FLAGS as follows: - SET (MY_C_FLAGS "/EHac-") MARK_AS_ADVANCED (MY_C_FLAGS) SET (CMAKE_C_FLAGS "${CM

Re: [CMake] visual studio converter?

2007-06-05 Thread Jon W
On 6/5/07, Brandon Van Every <[EMAIL PROTECTED]> wrote: On 6/5/07, Jon W <[EMAIL PROTECTED]> wrote: > Are there any tools available to convert Visual Studio files to > cmakelists.txt? I have hundreds of vcproj files and this would help > make the conversion to cmake easier.

[CMake] visual studio converter?

2007-06-05 Thread Jon W
Are there any tools available to convert Visual Studio files to cmakelists.txt? I have hundreds of vcproj files and this would help make the conversion to cmake easier. Thanks, Jon ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/lis