[CMake] Specifying ObjectFile for Visual Studio 7

2006-04-14 Thread Phillip Hellewell
Hi all,I need help building a project with two filenames with the same name (they are in different subdirectories).  Unfortunately, since VS builds all object files into the same directory, one of the object files will get clobbered and in addition I get a LNK4042 error (object specified more than

Re: [CMake] Exporting functions from DLLs using standard calling conventions

2006-04-14 Thread Phillip Hellewell
On 4/14/06, Ben Larson <[EMAIL PROTECTED]> wrote: Hello,I'm using CMake to manage the build process for a DLL I've createdmostly from ITK. I have successfully accessed the DLL with a C++ app butnow want to export the functions using standard calling conventions so I can call the DLL from a Visual B

[CMake] Error adding rule for c:/dev/blah/../blah/CMakeLists.txt

2006-04-19 Thread Phillip Hellewell
Hi all,I just tried out the latest dev version of cmake, 2.4.0, and I'm getting "Error adding rule" error when I try to generate a Visual Studio 7 project.  The error pops up about 5 times after hitting "OK". The error occurs when I use the SUBDIRS (or ADD_SUBDIRECTORY) command with a relative path

[CMake] Re: Error adding rule for c:/dev/blah/../blah/CMakeLists.txt

2006-04-19 Thread Phillip Hellewell
On 4/19/06, Phillip Hellewell <[EMAIL PROTECTED]> wrote: Hi all,I just tried out the latest dev version of cmake, 2.4.0, and I'm getting "Error adding rule" error when I try to generate a Visual Studio 7 project.  The error pops up about 5 times after hitting "OK".

Re: [CMake] Error adding rule for c:/dev/blah/../blah/CMakeLists.txt

2006-04-20 Thread Phillip Hellewell
On 4/20/06, William A. Hoffman <[EMAIL PROTECTED]> wrote: I have checked in a fix that works for this example.-BillThanks.  That was fast!I'll try it out when the next build (2.4.1 I'm guessing) gets made.Phillip ___ CMake mailing list CMake@cmake.org htt

[CMake] Why does cmake 2.4.0 (beta) compile header files?

2006-04-20 Thread Phillip Hellewell
command if there is some other place I am supposed to put them to get them to show up in the project. I tried adding the list of header files to a SOURCE_GROUP, but that only works if the header files are also part of the ADD_EXECUTABLE.Thanks,Phillip Hellewell _

[CMake] FIND_FILE won't find file if path is semi-colon delimited

2006-05-09 Thread Phillip Hellewell
ed using the PATH environment variable, but I wonder if it has the same problem...Thanks, Phillip Hellewell ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] FIND_FILE won't find file if path is semi-colon delimited

2006-05-09 Thread Phillip Hellewell
On 5/9/06, William A. Hoffman <[EMAIL PROTECTED]> wrote: You want:FIND_FILE( MYVAR "boost/shared_ptr.hpp" PATHS ENV INCLUDE)Sure enough, that did the trick!Phillip ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] FIND_FILE won't find file if path is semi-colon delimited

2006-05-09 Thread Phillip Hellewell
On 5/9/06, William A. Hoffman <[EMAIL PROTECTED]> wrote: At 05:22 PM 5/9/2006, Phillip Hellewell wrote:>Hi,>>I'm trying to use FIND_FILE with cmake 2.4.1 to find a boost header file in my %INCLUDE% path using this line of code:Out of curiousity, would there be any possible

Re: [CMake] CMake and it's invocation from MS VC7

2006-05-16 Thread Phillip Hellewell
ild ALL_BUILD or run cmake outside of visual studio, or whatever.  Cmake is working correctly and is rebuilding the project files, but VS is not prompting to reload it). Anyone else notice this problem with VS.Net 2003?  Anyone know how to fix it?Phillip Hellewell __

[CMake] How can I permanently get rid of project configurations for VS.Net 2003?

2006-05-18 Thread Phillip Hellewell
configuration, so it is never generated?  I want to do it globally, not by having to change every CMakeList.txt file.Thanks,Phillip Hellewell ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] Small nitpick...

2006-05-26 Thread Phillip Hellewell
Hi,Recently a bug fix was made to VS.Net 2003 generator to allow source files with the same.The fix was to specify an ObjectFile for each and every source file, so that they would be guaranteed to be unique. Unfortunately, even with CMAKE_VERBOSE_MAKEFILE set to FALSE, what you end up with now is t

Re: [CMake] Small nitpick...

2006-05-29 Thread Phillip Hellewell
so it will only do this only when there is a conflicting name.Awesome, thanks!  I didn't even think about the possibility that is was causing a performance impact too, but now I'm really anxious to have it fixed :) Thanks again,Phillip Hellewell _

Re: Fwd: [CMake] Error adding rule for c:/dev/blah/../blah/CMakeLists.txt

2006-06-05 Thread Phillip Hellewell
On 6/5/06, Brad King <[EMAIL PROTECTED]> wrote: Use   ADD_SUBDIRECTORY(../mylib mylib)I'm working on a fix to produce a better error message when you do notdo this.So is this just a workaround for a bug that will eventually be fixed, or do you always have to specifying a binary directory for librar

Re: Fwd: [CMake] Error adding rule for c:/dev/blah/../blah/CMakeLists.txt

2006-06-05 Thread Phillip Hellewell
o build all my projects.So for now I think I will go with the first solution you proposed, which is to specify the binary directory for my libraries, so that the outputs will be in the tree of the project, even if the sources aren't. Thanks,P

Re: [CMake] Replacing -L with -l

2006-06-09 Thread Phillip Hellewell
On 6/9/06, Jorgen Bodde <[EMAIL PROTECTED]> wrote: Hi Alex,Thank you for your reply. I want to statically link as much libs aspossible (especially wxGTK2.6.3) .. The reason is that my app needs todistributed. When I have wxGTK2.6.1 installed in /usr/lib it always takes those instead of my own absol

[CMake] Why doesn't MinGW show up in the list of generators?

2006-06-26 Thread Phillip Hellewell
Hi,I ran cmake --help on my linux machine and it shows KDevelop3 and UNIX Makefiles in the list of supported generators at the bottom.  How do I get support for MinGWStudio?  I thought there was support for that now.  I do have MinGWStudio installed. Thanks,Phillip Hellewell

Re: [CMake] elseif request

2006-09-18 Thread Phillip Hellewell
n live with that.)Phillip Hellewell ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] ZERO_CHECK

2006-11-16 Thread Phillip Hellewell
What is ZERO_CHECK and why do I need it? Why does this project show up when I use VS8 generator? How come every time I try to run it thinks ZERO_CHECK is out of date and needs to be rebuilt? Thanks, Phillip ___ CMake mailing list CMake@cmake.org http:

Re: [CMake] ZERO_CHECK

2006-11-17 Thread Phillip Hellewell
On 11/16/06, Bill Hoffman <[EMAIL PROTECTED]> wrote: Phillip Hellewell wrote: > What is ZERO_CHECK and why do I need it? Why does this project show > up when I use VS8 generator? How come every time I try to run it > thinks ZERO_CHECK is out of date and needs to be rebu