On Monday 30 July 2007 01:57, Eric Noulard wrote:
2007/7/30, Christian Convey [EMAIL PROTECTED]:
Now that I know CPack 2.6 is supposed to produce .deb files, I've
decided not to go crazy trying to produce a version of DpkgDeb that
I'm satisfied with.
Where this information comes from?
On 7/30/07, Brandon Van Every [EMAIL PROTECTED] wrote:
Can I
change my 'all' target in NMakefile in such way that it depends on
'pack_jars' from CMakeLists.txt?
Sure. Just add ALL, as per the cmake.html docs.
It works! :)
Thanx!
___
CMake
On 7/30/07, Andy Dingfelder [EMAIL PROTECTED] wrote:
Personally, my motivation is that I want to use Eclipse on Linux to
develop both java and c++ apps, and want them to run on mac, Linux and
PC. I have seen multiple discussions in a variety of places that talk
about how to do this, some
Hello!
Sorry if it was discussed already but I can't find anything really
useful for me.
In current project I use lex yacc and Makefile rules looks like:
YACC=bison
LEX=flex
config_yacc.c: config_yacc.y config.h
$(YACC) -d -o config_yacc.c config_yacc.y
config_lex.c: config_lex.l
Hi,
Timur Ivanov wrote:
Hello!
Sorry if it was discussed already but I can't find anything really
useful for me.
There have been several posts about this to the mailing list. Did you search
the archives? Here are a couple of posts.
Hello,
I am trying to set a variable in an IF block, but it doesn't appear in
the resulting cache or makefile. This is on Linux. Note that when I
run cmake, the ${OSNAME} variable is printed, but the ${FOOBAR} variable
ends up blank.
Thanks,
Juan
IF (${OSNAME} STREQUAL Linux64)
MESSAGE
My apologies, it turns out there was a syntax error, that was not fatal,
and not mentioned in the debug output.
Thanks,
Juan
Juan Sanchez wrote:
Hello,
I am trying to set a variable in an IF block, but it doesn't appear in
the resulting cache or makefile. This is on Linux. Note that
On 7/30/07, Timur Ivanov [EMAIL PROTECTED] wrote:
Hello!
Sorry if it was discussed already but I can't find anything really
useful for me.
In current project I use lex yacc and Makefile rules looks like:
YACC=bison
LEX=flex
config_yacc.c: config_yacc.y config.h
$(YACC) -d -o
I've got a multi-level project. I'm not explicitly setting the
EXECUTABLE_OUTPUT_PATH variable, so executables end up in the same
directory as whatever CMakeLists.txt file dfines the executable.
So I have an executable named MOOSDB, which ends up in the directory
Core/MOOSDB/
In
Sorry - the command I ran to get the output is this:
[EMAIL PROTECTED]:~/src/x$ DESTDIR=/tmp/foozle/ cmake
-DCMAKE_INSTALL_COMPONENT=Moos_Core -P cmake_install.cmake
But then when I run the following command, I get this output:
-- Install configuration:
-- Install configuration:
--
Am Montag, 30. Juli 2007 16:46:44 schrieb Timur Ivanov:
YACC=bison
LEX=flex
config_yacc.c: config_yacc.y config.h
$(YACC) -d -o config_yacc.c config_yacc.y
config_lex.c: config_lex.l config_yacc.c
$(LEX) -oconfig_lex.c config_lex.l
CMakeLists.txt
project(parsing_foo)
Reading this weekend's e-mail, I found that on Saturday one of my bugs
(4557) has been spammed, the metainformation replaced with random values
and the subject changed to Goodsite (it looks like this may have
happened to a lot of bugs).
I tried to repair the damage, but when I click 'submit'
Matthew Woehlke wrote:
Reading this weekend's e-mail, I found that on Saturday one of my bugs
(4557) has been spammed, the metainformation replaced with random
values and the subject changed to Goodsite (it looks like this may
have happened to a lot of bugs).
I tried to repair the damage,
On 7/30/07, Christian Convey [EMAIL PROTECTED] wrote:
Can you try to create a minimal testcase so we can reproduce the problem
here ?
Alex
I've got a pretty minimal test case. The problem installing an
executable Foo seems to only occur when Foo's CMakeLists.txt file
contains a line
On Monday 30 July 2007 15:23, you wrote:
On 7/30/07, Christian Convey [EMAIL PROTECTED] wrote:
Can you try to create a minimal testcase so we can reproduce the
problem here ?
Alex
I've got a pretty minimal test case. The problem installing an
executable Foo seems to only occur
On Monday 30 July 2007 15:23, you wrote:
On 7/30/07, Christian Convey christian.convey at gmail.com wrote:
Can you try to create a minimal testcase so we can reproduce the
problem here ?
Alex
I've got a pretty minimal test case. The problem installing an
executable Foo
Is there a command for creating a .o target on Linux? If I create my
own custom command for creating an object, the .o file is being
recompiled every time. I need the dependency scanner to recognize when
a .cc file does not need to be compiled into a .o file.
This is what I have right now.
On Monday 30 July 2007 15:53, Christian Convey wrote:
...
Interesting:
When I ran cmake -P ... repeatedly (any number of times), it always
fails.
This is because by directly running cmake -P nothing gets relinked.
When I ran make install repeatedly (any number of times), it always
fails.
On Monday 30 July 2007 16:24, Juan Sanchez wrote:
Is there a command for creating a .o target on Linux? If I create my
own custom command for creating an object, the .o file is being
recompiled every time. I need the dependency scanner to recognize when
a .cc file does not need to be
It's pretty messy the Makefile I am trying to convert. It is trying to
do something like this:
g++ -shared obj1.o obj2.o obj3.o staticarchivex.a staticarchivey.a -o
sharedlibrary.so
The static archives are compiled with -fPIC so dynamic relocation is
not a problem.
Unfortunately, this only
On 7/30/07, Alexander Neundorf [EMAIL PROTECTED] wrote:
When I ran make install repeatedly (any number of times), it always
fails.
I can't reproduce this.
Which version of cmake are you using ?
[EMAIL PROTECTED]:~$ cmake --version
cmake version 2.4-patch 6
Which steps do I have to
Actually, I just realized that make install is failing because I
don't have permissions for installing to the target directory.
But I still need the cmake -P cmake_install.cmake approach work.
Can you recommend something I can do, other than invoking make
install (which will fail), to cause the
Hi all,
One of my project is using python wrapping and under windows this only works
in release mode.
I would like my C/C++ example to be compilable in both Debug and Release
mode, but the python related project to appear only in release mode.
How can I do that using CMAKE?
Alex
Hello
I suspect that i am asking very basic question but i am very new to cmake
Suppose at top level CMakeLists.txt I have:
ADD_EXECUTABLE(test test.cpp ./common/common.cpp)
ADD_SUBDIRECTORY(test_1)
ADD_SUBDIRECTORY(test_2)
Then in test1 directory in CMakeLists.txt
ADD_EXECUTABLE(test_1
On 7/30/07, Timur Ivanov [EMAIL PROTECTED] wrote:
The problem is that common.cpp recompiled 3 times but I would like not
to do that waste of time. Is it possible ?
Yep. Did you look at Chicken yet?
Cheers,
Brandon Van Every
___
CMake mailing list
On 7/31/07, Brandon Van Every [EMAIL PROTECTED] wrote:
On 7/30/07, Timur Ivanov [EMAIL PROTECTED] wrote:
The problem is that common.cpp recompiled 3 times but I would like not
to do that waste of time. Is it possible ?
Yep. Did you look at Chicken yet?
Yes, I did. But it is a little
Did you try to make it straight-forward without any tweaking around?:
add_library (staticarchivex STATIC ...)
add_library (staticarchivey STATIC ...)
add_library (sharedlibrary SHARED obj1.c obj2.c obj3.c)
target_link_libraries(sharedlibrary staticarchivex staticarchivey)
Any reason why
On 30.07.07 16:39:04, Juan Sanchez wrote:
Did you try to make it straight-forward without any tweaking around?:
add_library (staticarchivex STATIC ...)
add_library (staticarchivey STATIC ...)
add_library (sharedlibrary SHARED obj1.c obj2.c obj3.c)
target_link_libraries(sharedlibrary
Am Montag 30 Juli 2007 23:39 schrieb Juan Sanchez:
Did you try to make it straight-forward without any tweaking around?:
add_library (staticarchivex STATIC ...)
add_library (staticarchivey STATIC ...)
add_library (sharedlibrary SHARED obj1.c obj2.c obj3.c)
On 7/30/07, Alexander Neundorf [EMAIL PROTECTED] wrote:
On Monday 30 July 2007 16:54, Christian Convey wrote:
Actually, I just realized that make install is failing because I
don't have permissions for installing to the target directory.
But I still need the cmake -P cmake_install.cmake
On 7/30/07, Timur Ivanov [EMAIL PROTECTED] wrote:
On 7/31/07, Brandon Van Every [EMAIL PROTECTED] wrote:
On 7/30/07, Timur Ivanov [EMAIL PROTECTED] wrote:
The problem is that common.cpp recompiled 3 times but I would like not
to do that waste of time. Is it possible ?
Yep. Did you
Brandon (and everyone else reading this),
I fear you misunderstood something from my last message, when you said
CMake's level of Java support is a strategic risk. Eclipse isn't just
a cross-platform crowd, it's a cross-platform heavily Java crowd.
What I meant was that we need as good as
On 7/30/07, Andy Dingfelder [EMAIL PROTECTED] wrote:
Brandon (and everyone else reading this),
I fear you misunderstood something from my last message, when you said
CMake's level of Java support is a strategic risk. Eclipse isn't just
a cross-platform crowd, it's a cross-platform heavily
Thanks for the make VERBOSE=1. I was flying blind before that since
it wasn't on the man page.
That is great that the add_library it works, even when one of the static
archives is external project. All I need to do now is figure our how to
send --whole-archive to the linker for each of the
On 7/30/07, Andreas Pakulat [EMAIL PROTECTED] wrote:
Of course CDT still uses the java-written eclipse
platform sdk, but it doesn't have anything else to do with Java.
So you're writing a plugin in Java to integrate CMake with Eclipse.
Well, don't you think you should use CMake to build the
On 7/30/07, Juan Sanchez [EMAIL PROTECTED] wrote:
Thanks for the make VERBOSE=1. I was flying blind before that since
it wasn't on the man page.
It wasn't on the man page of your version of Make? Remember, CMake
generates native build systems. You have to know your way around
CMake, *and*
Am Dienstag 31 Juli 2007 00:16 schrieb Juan Sanchez:
Thanks for the make VERBOSE=1. I was flying blind before that since
it wasn't on the man page.
That is great that the add_library it works, even when one of the static
archives is external project. All I need to do now is figure our how
Thanks everyone for their help. I'm evaluating cmake for my group and
it appears that cmake meets many of the needs that we have.
Regards,
Juan
Hendrik Sattler wrote:
Am Dienstag 31 Juli 2007 00:16 schrieb Juan Sanchez:
Thanks for the make VERBOSE=1. I was flying blind before that since
it
On 30.07.07 18:08:37, Brandon Van Every wrote:
On 7/30/07, Andy Dingfelder [EMAIL PROTECTED] wrote:
Brandon (and everyone else reading this),
I fear you misunderstood something from my last message, when you said
CMake's level of Java support is a strategic risk. Eclipse isn't just
a
I didn't think to look on the make man page, since almost every gnu make
system I dealt with had the verbose information by default.
Doing a man make reveals nothing about VERBOSE=1 since that is
specific to cmake, and doesn't have to do anything with the native build
system.
make VERBOSE=1
On 7/30/07, Andy Dingfelder [EMAIL PROTECTED] wrote:
You are correct in your thoughts that the individual who writes a cmake
plugin would need to know java. Yes as you point out there is always a
risk that perhaps cmake will not be up to the task of large scale cross
platform development and
On 7/30/07, Juan Sanchez [EMAIL PROTECTED] wrote:
I didn't think to look on the make man page, since almost every gnu make
system I dealt with had the verbose information by default.
Doing a man make reveals nothing about VERBOSE=1 since that is
specific to cmake,
No I'm googling and it's
What's a non-trivial Java app that's using a CMake build? Dart2
server perhaps?
I don't know any java apps that are built using cmake if thats what you
mean.
Building java apps it typically done using Maven or Ant, and I see no
need to re-invent the wheel and use cmake to do that.
All cmake
On 31.07.07 12:12:17, Andy Dingfelder wrote:
My vision for a cmake plugin would be as an administrative tool that
eases the creation of the CMakeLists.txt file and the running of
ccmake.
Basically, there would be a GUI screen or wizard that would ask
questions such as what OS you want to
Some good ideas and some misconceptions have been thrown around as
I've tried to use CMake to produce Debian packages. Here's a
consolidation of what I think are the major lessons, in case anyone
else has to do this too.
The notes below do *not* completely describe how to build Debian
packages
Brandon Van Every wrote:
On 7/30/07, Juan Sanchez [EMAIL PROTECTED] wrote:
I didn't think to look on the make man page, since almost every gnu make
system I dealt with had the verbose information by default.
Doing a man make reveals nothing about VERBOSE=1 since that is
specific to cmake,
On 7/30/07, Andy Dingfelder [EMAIL PROTECTED] wrote:
What's a non-trivial Java app that's using a CMake build? Dart2
server perhaps?
I don't know any java apps that are built using cmake if thats what you
mean.
Looks like Dart2 is an Ant project. VTK has a Java wrapper but it
doesn't use
On 7/30/07, Bill Hoffman [EMAIL PROTECTED] wrote:
Brandon Van Every wrote:
On 7/30/07, Juan Sanchez [EMAIL PROTECTED] wrote:
I didn't think to look on the make man page, since almost every gnu make
system I dealt with had the verbose information by default.
Doing a man make reveals
Hi Brandon,
By default, gnu make will always print the command to execute, as well
as its output. Typically, the command to be executed is muted by
prefixing an @. For example:
@echo Built target PerlLib
As for all of the other commands, apparently they used this trick:
# Suppress
Timur Ivanov wrote:
The problem is that common.cpp recompiled 3 times but I would like not
to do that waste of time. Is it possible ?
No and Yes. No, cmake in general does not allow to do it easily or
reliably.
But your OS does. Make common.cpp into either a static or dynamic
library and
Hello Everyone,
Recently there has been discussion on the list about the Eclipse IDE
(or whatever it is; platform maybe ;) ) and CMake.
http://www.cmake.org/pipermail/cmake/2007-July/015294.html
http://www.cmake.org/pipermail/cmake/2007-July/015434.html
So, I don't know much about Eclipse
Hi,
We have a project where we are generating about 12-15 targets. Of these
targets some depend on VTK, some on other external libraries. We have
managed to author CMakeLists.txt for VTK and the external libraries, except
for MFC and .Net targets. Any clues how we can author CMakeLists.txt to
On 7/25/07, Brandon Van Every [EMAIL PROTECTED] wrote:
2Brandon: sorry for private e-mails, I have pressed the wrong button, they
should have gone here. My bad.
Can this be solved somehow? What I want is my POST_BUILD event zipping my
DLL be called in case the DLL produced by add_library
53 matches
Mail list logo