Re: [CMake] Visual Studio GNU make projects

2007-06-04 Thread John Donovan


- Original Message - 
From: Brandon Van Every [EMAIL PROTECTED]

To: cmake@cmake.org
Sent: Friday, June 01, 2007 6:16 PM
Subject: Re: [CMake] Visual Studio GNU make projects


You could also use CMake to produce a Visual Studio project, and
implement all compiler shennanigans yourself using ADD_CUSTOM_COMMAND.
 This would be similar to how I drive the Chicken Scheme compiler.
http://www.call-with-current-continuation.org if you want to see my
build.


That sounds like a good idea.



What's so great about GNU Make?  Sounds like a legacy issue you should
dump.  Unless it's an underlying 3rd party library, in which case you
don't touch that build, you just wrap it with an ADD_CUSTOM_COMMAND
and let it do its own thing completely independently.


Yeah, the piece of hardware I'm compiling for uses GNU Make in Cygwin for 
its libraries and makefile includes and whatnot. At this stage I don't fancy 
rewriting the entire 3rd party build system only to have it overwritten with 
the next update!

So a custom command seems to be the way to go, thanks Brandon.

-J




__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] Preserve file date on copy

2007-06-04 Thread Bill Hoffman

Yann Renard wrote:
I have several modules managed with cmake and a script to build all 
the modules at once. When a simple module gets modified, cmake 
rebuilds what is needed in it and copies the API files in the include 
path. Those API files' date get modified at this time, resulting on 
the rebuild off all modules depending on this first simple module. My 
wish would be to avoid date change at copy time to free some time 
during build process. (copies are made thanks to cmake command mode 
calls)
The best thing to do would be a copy if different.   If the files really 
do change, then you would want a rebuild.  Both configure file and -E 
copy_if_different will work.


-Bill

___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake


[CMake] Makefile includes

2007-06-04 Thread John Donovan
We're using a 3rd-party build system that is build around GNU make and 
CodeWarrior *shudder*, and they have provided a fairly chunky file that 
needs to be included at the top of the makefile, e.g.:

include $(SOME_ROOT_DIR)/build/buildtools/commondefs

Is it possible to get cmake to insert this line into my generated makefile?

-J



__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] Makefile includes

2007-06-04 Thread Eric Noulard

2007/6/4, John Donovan [EMAIL PROTECTED]:

We're using a 3rd-party build system that is build around GNU make and
CodeWarrior *shudder*, and they have provided a fairly chunky file that
needs to be included at the top of the makefile, e.g.:
include $(SOME_ROOT_DIR)/build/buildtools/commondefs

Is it possible to get cmake to insert this line into my generated makefile?


I think it has already been discussed on this list (you may have a
look in archive).
CMake does not handle such kind of
mix makefile + CMake inclusion.
Moreover you certainly don't *really* want to do it
for the following reason:

How would you use the content of your
include $(SOME_ROOT_DIR)/build/buildtools/commondefs
from within your CMakeLists.txt ?

How can you be sure the eventual makefile rules defined
in your specific file won't clash or interfere with the ones generated
by CMake generated Makefiles?

May be you can:

1) Ask your third party build tool provider for CMake support

2) Send on the mailing list the content of
  $(SOME_ROOT_DIR)/build/buildtools/commondefs
  in order for us to suggest Makefile to CMake translation

3) Design your CMake usage with orthogonal usage
   of the 3-rd party buildtool and your CMake usage
  then you may invoke the 3rd party buildtool make
  from an ADD_CUSTOM_COMMAND in your CMakeLists.txt


--
Erk
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] Makefile includes

2007-06-04 Thread John Donovan
Hmmm... I was worried that'd be the case. It makes complete sense really, 
I'm just getting annoyed at this rubbish build system we're forced to use. 
*grumble*


-J
- Original Message - 
From: Eric Noulard [EMAIL PROTECTED]

To: John Donovan [EMAIL PROTECTED]
Cc: cmake@cmake.org
Sent: Monday, June 04, 2007 2:49 PM
Subject: Re: [CMake] Makefile includes



2007/6/4, John Donovan [EMAIL PROTECTED]:

We're using a 3rd-party build system that is build around GNU make and
CodeWarrior *shudder*, and they have provided a fairly chunky file that
needs to be included at the top of the makefile, e.g.:
include $(SOME_ROOT_DIR)/build/buildtools/commondefs

Is it possible to get cmake to insert this line into my generated 
makefile?


I think it has already been discussed on this list (you may have a
look in archive).
CMake does not handle such kind of
mix makefile + CMake inclusion.
Moreover you certainly don't *really* want to do it
for the following reason:

How would you use the content of your
include $(SOME_ROOT_DIR)/build/buildtools/commondefs
from within your CMakeLists.txt ?

How can you be sure the eventual makefile rules defined
in your specific file won't clash or interfere with the ones generated
by CMake generated Makefiles?

May be you can:

1) Ask your third party build tool provider for CMake support

2) Send on the mailing list the content of
  $(SOME_ROOT_DIR)/build/buildtools/commondefs
  in order for us to suggest Makefile to CMake translation

3) Design your CMake usage with orthogonal usage
   of the 3-rd party buildtool and your CMake usage
  then you may invoke the 3rd party buildtool make
  from an ADD_CUSTOM_COMMAND in your CMakeLists.txt


--
Erk

_
This e-mail has been scanned for viruses by Verizon Business Internet 
Managed Scanning Services - powered by MessageLabs. For further 
information visit http://www.verizonbusiness.com/uk






__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] Preserve file date on copy

2007-06-04 Thread Yann Renard

Bill Hoffman wrote:

Yann Renard wrote:
I have several modules managed with cmake and a script to build all 
the modules at once. When a simple module gets modified, cmake 
rebuilds what is needed in it and copies the API files in the include 
path. Those API files' date get modified at this time, resulting on 
the rebuild off all modules depending on this first simple module. My 
wish would be to avoid date change at copy time to free some time 
during build process. (copies are made thanks to cmake command mode 
calls)
The best thing to do would be a copy if different.   If the files really 
do change, then you would want a rebuild.  Both configure file and -E 
copy_if_different will work.


-Bill


It seems it does what I need, thank you Bill !

Yann Renard
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake


[CMake] what to download for Linux??

2007-06-04 Thread Oliver Kullmann
Hello,  

I want to build cmake from the sources, on
a Linux platform. Now it seems I have the choice
between

cmake-2.4.6-Linux-i386.tar.gz

and

cmake-2.4.6.tar.gz

??

Intuitively, I would go for the second choice
(called Unix Linefeed Source, where I have
no clue what the Linefeed stands for), since
Unix normally includes Linux, and a generic name
like cmake-2.4.6.tar.gz is similar to for example
the gcc- or doxygen-packages-names.

However what then is that Linux-package good for??
I know that i386 stands for some architecture,
but I don't know whether my platforms are such or not,
and I also expect the build process to find out
on its own, without me having to specify this
implementation detail?? (When building gcc, or, say,
make, it does not bother the user with such details.)

I have purchased the book, but neither there nor on
the web page anything is said about which package
to use when (just follow the instructions, but there
are none). I couldn't make good use of the search functions
for the e-mail lists neither (always end up with some
google search).

Any hint would be appreciated.

Thanks

Oliver

___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] what to download for Linux??

2007-06-04 Thread Bill Hoffman

Oliver Kullmann wrote:
Hello,  


I want to build cmake from the sources, on
a Linux platform. Now it seems I have the choice
between

cmake-2.4.6-Linux-i386.tar.gz
  

This one is a binary already built for you.

and

cmake-2.4.6.tar.gz
  
This is a source tar file with Unix style end of lines and not \r\n line 
endings found

in windows text files.

-Bill

___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake


[CMake] Dashboards

2007-06-04 Thread Richard Wackerbarth
I have been unable to contact any of the Dart2 dashboards hosted at  
Harvard.
Since I have been using Dart2 for my project, I would like to support  
efforts that would encourage the replacement of Dart1 installations,  
and thus shift development emphasis.

Have they been discontinued? Or is there some firewall blockage?

CMake is working great for my builds.
However, either I don't understand how, or CTest is still weak  
with respect to the things that I would like to do on the testing  
front. (I have written many make-based testing targets over the  
past decades.)
I still have not figured out how to make tests run conditioned on  
changed executables. (I have a lengthy test that I wish to avoid  
running unless either (1) It failed on its last attempt, or (2) the  
executable has changed.)


On the topic of supporting CMake development, are there any  
particular additional Nightly builds that would be helpful to the  
CMake developers?
I can offer various releases of FreeBSD, Linux, and  MacOSX. They  
range from 2 generations old to CVS (cutting edge). I can probably  
get some of my contributors to supply additional possibilities.


Keep up the good work,

Richard
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake