On 2007-09-25 22:37-0500 John Doe wrote:
While the cmake man page does not document the proper capitalization of
Fortran for creating a fortran based project, I am now at the point the
compilation does not work for another reason.
Does anyone have an idea what this means?
Clearing
On Wednesday 26 September 2007 04:37:33 [EMAIL PROTECTED] wrote:
While the cmake man page does not document the proper capitalization of
Fortran for creating a fortran based project, I am now at the point the
compilation does not work for another reason.
Does anyone have an idea what this
Dizzy wrote:
So, do you have the target file
/KM/usr/ziegler/ExGen/cmake/build/src/CMakeFiles/CMakeRelink.dir/startCompletionServer
?
In src/, I have the target
ADD_EXECUTABLE(startCompletionServer StartCompletionServer.cpp ${BASEFILES})
If yes do you have write privileges in
Dizzy wrote:
In what way it is not used correctly? Do you set it from within
CMakeLists.txt? Because that doesn't work. You can set it externally with -D
Yes, in CMakeLists.txt.
to cmake command line tho (similar to how you could give --prefix to
configure of autoconf).
OK, that works.
Hello Alex,
thanks for the help.
Alexander Neundorf wrote:
Why doesn't it work with vcvarsall.bat ?
I tried today once again and it does work with vcvarsall.bat.
With -D you are setting cmake variables, so they should have cmake-style
paths, i.e. using forward slashes. This should fix
2007/9/26, Fredrik Hultin [EMAIL PROTECTED]:
Hi
I've got a question and/or suggestion regarding CPack:
How are the generator specific settings supposed to be sent to the generators?
If I understand the CPack system correctly you're supposed (or at
least you have the option) to write CPack
Hello,
I have two targets that have nearly the same sources:
ADD_EXECUTABLE(startCompletionServer StartCompletionServer.cpp ${BASEFILES})
ADD_EXECUTABLE(test-adler32 test-adler32.cpp ${BASEFILES})
I wonder why every object file belonging to the BASEFILES is built
twice, once for the first
On Wednesday 26 September 2007 14:55:52 Joachim Ziegler wrote:
Hello,
I have two targets that have nearly the same sources:
ADD_EXECUTABLE(startCompletionServer StartCompletionServer.cpp
${BASEFILES}) ADD_EXECUTABLE(test-adler32 test-adler32.cpp ${BASEFILES})
I wonder why every object file
2007/9/25, Juan Sanchez [EMAIL PROTECTED]:
Hi Alan,
I also have floating point results I want to account for. I'm thinking
about writing a diff script for numerical results which uses an absolute
and relative error tolerance. This would account for the difference in
transcendentals and
2007/9/25, Juan Sanchez [EMAIL PROTECTED]:
Hi Alan,
I also have floating point results I want to account for. I'm thinking
about writing a diff script for numerical results which uses an absolute
and relative error tolerance. This would account for the difference in
transcendentals and
On 26.09.07 15:13:38, Dizzy wrote:
On Wednesday 26 September 2007 14:55:52 Joachim Ziegler wrote:
Hello,
I have two targets that have nearly the same sources:
ADD_EXECUTABLE(startCompletionServer StartCompletionServer.cpp
${BASEFILES}) ADD_EXECUTABLE(test-adler32 test-adler32.cpp
Andreas Pakulat wrote:
On 26.09.07 15:13:38, Dizzy wrote:
On Wednesday 26 September 2007 14:55:52 Joachim Ziegler wrote:
Hello,
I have two targets that have nearly the same sources:
ADD_EXECUTABLE(startCompletionServer StartCompletionServer.cpp
${BASEFILES})
On 9/25/07 12:06 PM, Félix C. Morency said:
I'm trying to create a MacOSX bundle with my application. So far, everything
is working (.dmg generation) except the fact that the application is always
installed in /usr/bin. Is there any way to install it in the application
menu ? I'm far from being a
Hi All,
I'm using CMake on Windows with a mingw compiler.
I wanted to produce .def (and .lib) files corresponding to my DLL
in order to be enable my user using MSVC to use the DLL
as explained here:
http://www.mingw.org/mingwfaq.shtml#faq-msvcdll
For now I have added line likes this:
It turns out that any word of the word Use or use as a word anywhere in
a comment causes the dependency scanner to use the next token on the
line as a module dependency.
So I changed all the code to use xUse and xuse.
Thanks,
Juan
Alin M Elena wrote:
On Wednesday 26 September 2007 04:37:33
Awesome. I love that guys work on bibtex and bibtools.
Juan
Mathieu MARACHE wrote:
2007/9/25, Juan Sanchez [EMAIL PROTECTED]:
Hi Alan,
I also have floating point results I want to account for. I'm thinking
about writing a diff script for numerical results which uses an absolute
and
On 9/25/07 12:06 PM, Félix C. Morency said:
I'm trying to create a MacOSX bundle with my application. So far, everything
is working (.dmg generation) except the fact that the application is always
installed in /usr/bin. Is there any way to install it in the application
menu ? I'm far from being a
Thank you for answering.
I googled the NSStatusItem and I'm not quite sure I understand what you
mean. I guess putting the application in the Finder/Application menu could
be done without modifying the source code ? I want to put a shortcut/the
application to the bundle automaticaly with the
Sean McBride wrote:
On 9/25/07 12:06 PM, Félix C. Morency said:
I'm trying to create a MacOSX bundle with my application. So far, everything
is working (.dmg generation) except the fact that the application is always
installed in /usr/bin. Is there any way to install it in the application
I still don't understand when variables are inherited by subdirectories.
I see that if I define the variable using cmake -D then it is the same
in all subdirectories. I guess I could use an environment variable.
However, if I do something like:
SET (FINITO_INSTALL_DIR
hah! I see what happened. Obviously, the variable needs to be set
_before_ using ADD_SUBDIRECTORY (oops). For some reason I had it after.
Thanks anyway.
Javier
Yes, ADD_SUBDIRECTORY processes immediatly the subdirectory.
Note that inherited variables actually are new variables, so if you
Hi Bill,
I wouldn't mind taking a stab at it.
It would be easy enough to tell lex to drop any line starting with a
comment character. Something along the lines of:
^[cC].* {}
There seems to be a line in the lexer that does this, but it doesn't
appear that that the start condition, fixed_fmt,
Juan Sanchez wrote:
It turns out that any word of the word Use or use as a word anywhere in
a comment causes the dependency scanner to use the next token on the
line as a module dependency.
So I changed all the code to use xUse and xuse.
The problem is well known, and much talked about.
The
Juan Sanchez wrote:
Hi Bill,
I wouldn't mind taking a stab at it.
It would be easy enough to tell lex to drop any line starting with a
comment character. Something along the lines of:
^[cC].* {}
There seems to be a line in the lexer that does this, but it doesn't
appear that that the start
Has anyone any examples of building a compiler (of sorts) and using that
compiler to generate code then integrated into another CMake target?
Thanks,
James
James Bigler wrote:
I have a program built within CMake that generates some code. I need
this generated code to compile some other
Anyone know what are the valid comment lines in all the Fortran variants?
I know of lines beginning with c, C, or * in the first column.
Juan
Bill Hoffman wrote:
Juan Sanchez wrote:
Hi Bill,
I wouldn't mind taking a stab at it.
It would be easy enough to tell lex to drop any line starting
Am Mittwoch, 26. September 2007 17:34:38 schrieb Bill Hoffman:
A lex/yacc guru would be best to help out here. Basically we want
the fortran parser to ignore all comment lines. I gave it a try a while
ago, but did not get it to work. I suppose a hack solution would be to
pre-process the
I have a strange problem using CTest with Makefiles. If I run make test,
ctest is never called. If I change the name of the target in the Makefile
from test to test2 and run make test2, then ctest is called properly.
After changing the target name, make test is still recognized as a valid
Would you happen to have a file named test in your binary area? Make
will see the file and think that the target test is up to date.
A proper gnu makefile would mark the test target as phony. Looking at
the gnu makefile generated by one of my projects, test is not marked as
phony.
Let me know
As a followup. If I touch test, the test no longer runs. If I add
the PHONY target to the Makefile. The tests still run.
~/bar make test
Running tests...
Start processing tests
Test project /home/juans/bar
1/ 1 Testing foo Passed
100% tests passed, 0 tests
Juan,
Thanks for the tip! Although I did not have a file named test, I did have a
directory named test (that contains all of my test projects naturally).
Marking the test target as phony in the Makefile resolved the issue.
It sounds like this should be fixed in the Makefile generator. There
I preemptively filed bug:
http://www.cmake.org/Bug/view.php?id=5785
I didn't know directories could trigger this as well.
Juan
KSpam wrote:
Juan,
Thanks for the tip! Although I did not have a file named test, I did have
a
directory named test (that contains all of my test projects
On 26.09.07 10:03:08, James Bigler wrote:
Has anyone any examples of building a compiler (of sorts) and using that
compiler to generate code then integrated into another CMake target?
Look at Qt apps that use cmake and dbus. Or any kde application and
KDE's automoc-compiler.
Andreas
--
Your
On Sep 26, 2007, at 10:11 AM, Juan Sanchez wrote:
Hello James,
I'm curious why your target name is ExtractSymbolsFromXML, but your
dependency is ${ExtractSymbolsFromXML_exe}.
Shouldn't your dependency be the name of the target?
I tried both, and neither work.
In addition, if you add a
On Sep 26, 2007, at 11:03 AM, Andreas Pakulat wrote:
On 26.09.07 10:03:08, James Bigler wrote:
Has anyone any examples of building a compiler (of sorts) and
using that
compiler to generate code then integrated into another CMake target?
Look at Qt apps that use cmake and dbus. Or any kde
Maik Beckmann wrote:
Am Mittwoch, 26. September 2007 17:34:38 schrieb Bill Hoffman:
A lex/yacc guru would be best to help out here. Basically we want
the fortran parser to ignore all comment lines. I gave it a try a while
ago, but did not get it to work. I suppose a hack solution would
On 26.09.07 11:25:21, James Bigler wrote:
On Sep 26, 2007, at 11:03 AM, Andreas Pakulat wrote:
On 26.09.07 10:03:08, James Bigler wrote:
Has anyone any examples of building a compiler (of sorts) and using that
compiler to generate code then integrated into another CMake target?
Look at Qt
Andreas Pakulat wrote:
On 26.09.07 10:03:08, James Bigler wrote:
Has anyone any examples of building a compiler (of sorts) and using that
compiler to generate code then integrated into another CMake target
Does this help:
http://www.cmake.org/Wiki/CMake_FAQ
See :How can I
Bill Hoffman wrote:
Andreas Pakulat wrote:
On 26.09.07 10:03:08, James Bigler wrote:
Has anyone any examples of building a compiler (of sorts) and using
that
compiler to generate code then integrated into another CMake target
Does this help:
http://www.cmake.org/Wiki/CMake_FAQ
How do I get the INCLUDE_DIRECTORIES path? I need to feed into into the
search path for the swig command line.
Thanks,
Juan
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
Is there a way to group projects in a solution? Something like this would be
handy
CMakeProject
-- ALL_BUILD
-- ZERO_CHECK
etc
lib
-- lib1
-- lib2
Possibly something that follows the file system setup.
-Neal
___
CMake mailing
I've got the following in my CMakeLists.txt
SET( L1 *.h *.hpp *.cpp *.c )
MESSAGE( STATUS L1 = ${L1} )
macro( test L2 )
MESSAGE( STATUS L2 = ${L2} )
FOREACH( L ${L2} )
MESSAGE( STATUS L = ${L} )
SET( L_LIST ${L_LIST} stuff/${L} )
ENDFOREACH( L )
MESSAGE( STATUS L_LIST = ${L_LIST} )
Try:
test(${L1})
You are passing multiple arguments to the macro by using ${L1} without
double quotes (because it expands to a list with multiple elements). Using
double quotes makes it all go into the first macro argument...
Alternatively, you could look up the help for MACRO using:
cmake
Hi,
I have a particular situation that I would like you to analyze to help me
find the best solution possible.
I have a project A, a project B and an external dependency called C.
The project B depends directly on C.
The project A needs the projects B to build but does not want to know
about its
44 matches
Mail list logo