I have testing CMake as my build system for medium sized proyects and i
view that change to a tiny scripting instead of CMake macros can be good.
For example in my project. i need stuff for compile other things that are
not out of the box supported by CMake, for example antltr files for generate
On Tue, Feb 19, 2008 at 9:49 PM, Alexander Neundorf [EMAIL PROTECTED]
wrote:
Yes, crashes with 2.4.6, works with cvs.
Can you please check with 2.4.8 ?
I updated to 2.4.8 crash still reproducible here is the output
[EMAIL PROTECTED] ~/kk/cmake-glob-bug/build $ cmake --version
cmake version
Hi
Why CMake-2.4.8 requires xml-rpc package?
Can any body explains why this package is needed to build CMake.
I can view the reason for this depency inside CMake, but when installing
CMake from gentoo portage it require xml-rpc to be instaled with curl or
libwww enabled.
Thanks
On Wed, Feb 20, 2008 at 7:42 PM, Alexander Neundorf [EMAIL PROTECTED]
wrote:
Do you mean you have to install xmlrpc ?
At least using the gentoo ebuild you need to have xmlrpc with curl or libwww
enabled before you can emerge cmake 2.4.8 in cmake-2.4.6 this isn't
necessary.
maybe the error is on
Your example also works well for me and don't reproduce the bug.
I attach a file with my example
On Feb 19, 2008 7:24 PM, Alexander Neundorf [EMAIL PROTECTED] wrote:
Hi,
On Tuesday 19 February 2008, pepone.onrez wrote:
[EMAIL PROTECTED] ~/kk/cmake-glob-bug $ cat CMakeLists.txt
FILE (GLOB
[EMAIL PROTECTED] ~/kk/cmake-glob-bug $ cat CMakeLists.txt
FILE (GLOB TESTS ./test/ *.cpp)
ls -liha test/
total 0
3635635 drwxr-xr-x 3 pepone pepone 72 2008-02-19 04:56 .
998787 drwxr-xr-x 4 pepone pepone 160 2008-02-19 04:52 ..
3635679 drwxr-xr-x 2 pepone pepone 48 2008-02-19 04:56 .svn
When i add this line to CMakeLists.txt i get a segmentation fault
cmake version 2.4-patch 6
The problem seems to appear when the relative path ends with '/'
FILE (GLOB TESTS ./test/ *.cpp)
___
CMake mailing list
CMake@cmake.org
Hi
I have create and script for search google/ctemplate package
source is here
http://ydra-cmake.googlecode.com/svn/trunk/cmake/ydra/FindGoogleCtemplate.cmake
any comments for improve it are well come.
There are also other cmake scripts for use antlr c++ in the same repository.
Maybe a macro can call cmake for only this part that need to be regenerated,
in this way if the macro detects thats a glob has changed it can recreate
rules that´s depends upon this GLOB, Only and idea what you think about
this?
On Jan 23, 2008 6:59 AM, Daniel [EMAIL PROTECTED] wrote:
I create and small test that's reproduce the problem described in this
thread
Download the cmake-customcommand-test.tar.gz attached to this mail
How to run the test.
uncompress it with tar zxvf cmake-customcommand-test.tar.gz
go to the build subdir cd cmake-customcommand-test/build
type cmake
I Attach a incorrect file in the last mail, get the file attached to this
mail for view the correct example.
Thanks
cmake-customcommand-test.tar.gz
Description: GNU Zip compressed data
___
CMake mailing list
CMake@cmake.org
There isn't any way for GLOB runs every time and view if there is new files
in the GLOB?
or other way for adding multiple files with a regular expression and get it
update when needed?
a custom macro can do this?
Any other ideas for adding multiple files and get it updated automatically.
Thanks
Hi Brandon thanks for your help
problem with ADD_CUSTOM_TARGET is that runs allways even when it generate
files are up to date.
Quoted From Cmake docs:
Adds a target with the given name that executes the given commands. The
target has no output file and is ALWAYS CONSIDERED OUT OF DATE even if
} that is the output of my second command. The
same as when i use 2 ADD_CUSTOM_COMMAND with out ADD_DEPENDENCIES.
Thanks in advance any help is appreciated.
On Jan 21, 2008 5:14 PM, pepone. onrez [EMAIL PROTECTED] wrote:
Hi Brandon thanks for your help
problem with ADD_CUSTOM_TARGET is that runs allways even
Hello i creating a CMake macro for compile same IDL files.
Here is steps i trying to do
1) find all files in ./slice directory that's end with .ice
for each .ice files
1.1) run slice2cpp compiler that's generate a .h and .cpp file white the
same name as the .ice
1.2) move the .h file to the
I solve the problem by adding the move step in the same ADD_CUSTOM_COMAND
Here is the new code. Any ideas for
#BEGIN
MACRO ( GENERATE_SLICE2CPP_RULES GENERATED_CPP_LIST GENERATED_HEADER_LIST )
FOREACH( SLICE_SOURCE_BASENAME ${ARGN} )
APPEND( GEN_SLICE_RULES_SLICE_DEPENDS
I know is not a good practice but this library only has generated code, and
the generated headers are need for build other applications made by third
parties. This is why i prefer to put in sources.
I atach here the relevant code for both cases and generated rules.
Case 1 - works as expected
Case
Hi Brandon
[EMAIL PROTECTED] ~/proyects/ydra-ipluginservice/build $ grep Moving * -R
[EMAIL PROTECTED] ~/proyects/ydra-ipluginservice/build $
I grep -R in the build dir and don't see the keword Moving that i put in
the Comment of the second ADD_CUSTOM_COMAND in any of CMake generated
files.
I test various debug messages before my first post here and variable values
seems alright. Now ill try to reproduce the problem in a self contained
example and post here the results.
Thanks for all
On Jan 19, 2008 7:15 PM, Brandon Van Every [EMAIL PROTECTED] wrote:
I'm going to take a wild
can buid my system with Cmake :)
On Jan 19, 2008 8:02 PM, pepone. onrez [EMAIL PROTECTED] wrote:
I test various debug messages before my first post here and variable
values seems alright. Now ill try to reproduce the problem in a self
contained example and post here the results.
Thanks
Hello all
I'm new cmake user and need to write a module for test if a pacakage exists,
In my case i need to check If Ice (Internet Communication Engine |
http://www.zeroc.com) is installed, this package is a set of shared
libraries, include files, and compilers for slice language.
I need to be
Hello
I whant to view the commands that are running with out of the arguments ,
there are any options for enable this
Thanks
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
22 matches
Mail list logo