Hello CMake-gurus,
I'm adding tests to my project (with add_test) and let add_test call ctest
with some parameters, e.g.:
add_test(some_test ${CMAKE_CTEST_COMMAND} -V --build-and-test ...)
The tests will be called by make test, for example, and they are
successfully built and run.
Except, that
to reformulate my former question:
How can I get the output from ctest -V or ctest -VV when running make
test?
Thanks again
Marco
-Ursprüngliche Nachricht-
Von: wedekind [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 13. Juli 2007 16:56
An: 'cmake@cmake.org'
Betreff: [CTest] Does add_test
Hi Alex,
There is a new class cmExternalMakefileProjectGenerator, which can be
subclassed and be used to create project files for your prefered IDE.
This is really cool! I have implemented such a makefile-based generator with
additional IDE-files and it was quite annoying to set it up.
Hi David,
I've recently implemented a simple method to add a solution folder to Visual
Studio projects. It basicly creates a solution-folder named CMAKE and
adds some CMake-generated projects to it. The source code sample below needs
to be added to
Hello all,
recently, I have added source control bindings to the Visual Studio
generator of my cvs-copy of cmake. Now I am able to bind my cmake-generated
VS project files to our source control system perforce. Which is quite
convenient, since I do not have to switch from VS to my perforce client
Hello all,
thanks for your thoughts and hints. I guess I can sum up for me now that at
the moment there is no IDE that directly supports CMakeLists.txt files. And
there are reasons for that. Nevertheless I think it would enhance CMake's
usability in IDEs greatly if they would offer such a
Hello all,
does anyone know of an IDE that directly supports CMakeLists.txt as its
build-configuration files? I know that kdevelop supports it, but it seems as
if CMake-support is not yet fully integrated and working. Are there
alternatives?
Cheers
Marco
Hello all,
I just want to revive my topic from two weeks ago. Please have a look at
the mail below. Can you reproduce this behaviour? What's the reason behind
it or is it a bug?
Cheers
Marco
-Ursprüngliche Nachricht-
Von: wedekind [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 26. Januar
Hi Ken,
thanks for your reply. Though I'm reading this list quite regularly I have
missed this fix :(
Cheers
Marco
-Ursprüngliche Nachricht-
Von: Ken Martin [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 6. Februar 2007 16:42
An: 'wedekind'; cmake@cmake.org
Betreff: RE: [CMake] Strange
Hello all,
thanks for your hints. Well, ok, I could use any IDE that can be configured
to run any command as its build command. So a text editor will do generally.
But this is not exactly what I want. I'm looking for an IDE that supports
the CMakeLists.txt such that it interprets them and
Hello all,
I've encountered a strange parsing problem with a 2-month old checkout from
CMake's cvs repository. Please have a look at the following sample
CMakeLists.txt:
SET(SOME_VAR 1)
IF(SOME_VAR)
MESSAGE(SOME_VAR is set to true)
ENDIF(SOME_VAR)
IF(NOT SOME_VAR)
SET(SOME_OTHER_VAR
Hi David,
thanks for reply, even it's 2 months later it was still helpful for me. I've
followed your steps and it works for me! Unfortunately I cannot reproduce
what I have done wrong 2 months ago, but I guess the main difference to your
approach is that I have tried to use my own
Hello all,
recently I have encountered a unexpected behaviour of ADD_DEPENDENCIES. My
goal is to have a set of targets that are not built with the ALL-target.
They should be built using an empty helper-target. The helper-target is an
empty custom target in a CMakeLists.txt in some root-directory:
Hello again,
is anyone of you building packages with CPack for MacOSX? Do you think it is
a problem that you cannot change the installation-root of a PackageMaker
package?
I've looked at CPack's source code which sets the installation root-dir of
PackageMaker installers to /usr by default. It is
Hello all,
I have tried to build my first MacOSX package today. It works very well so
far, but since I am totally new to the Mac I have some questions related to
the installation process. CPack creates a package which installs to /usr by
default, i.e. /usr is the root-dir of the installation.
Hello Brandon,
thanks for your input.
So you are the only person who ever builds your software? If other people
have to build your stuff, you're making it a PITA for them, having to
remember precisely what Qt directory to use. All this knowledge is locked
up in your head, or in your docs,
Hello Brandon,
thanks for your input.
So you are the only person who ever builds your software? If other people
have to build your stuff, you're making it a PITA for them, having to
remember precisely what Qt directory to use. All this knowledge is locked
up in your head, or in your docs,
Hello Bill,
OK, good find. It looks like both the debug and optimized libs are
being used in the depend.
:)
They are not being used on the link line which is good...Just
curious, it should not have been
able to find a library that does not exist on your machine, so you must
have set the
Hello Bill,
Yes, it should be correct, and will be for 2.4.5 (which maybe coming
sooner than later... :-( )
I am not quite sure why you would add it by hand if it does not
exist...
Well, I need this lib, the debug version of the qt-lib, only sometimes. I
did not have installed it yet, but I
Hello Bill,
There was a change What version of QT are you using? Also, what
FindQt are you using?
What is the value of QT_QT_LIBRARY?
I am using Qt 3.3.5, FindQt3.cmake and QT_QT_LIBRARY is correctly set to
/home/wedekind/ThirdParty/QT/3.3.5, which is the root dir of my
qt-installation
Hello Bill,
after a long code-walk I have solved my problem. The function
cmMakefileTargetGenerator::AppendTargetDepends() has added the libs to the
target's EXTERNAL_OBJECTS list. This has caused make to try to build that
external object, e.g. the Qt-lib, if it was not present.
BTW: Does it
Hello all,
I guess there has been a change in the interpretation of optimized and
debug libraries used in the TARGET_LINK_LIBRARIES command.
In 2.4.3 the following line successfully produced a link to the Qt
libraries:
TARGET_LINK_LIBRARIES(JCore optimized ${QT_QT_LIBRARY} debug
Hello all,
I have been using CMake 2.4.3 until today. Now I wanted to switch to CMake
2.4.4 or the CVS-version. After playing around with the CVS-version, I have
observed a change in the resolution of CMake variables. I have been using
two methods of denoting CMake variables:
1)
Hello Bill,
This seems to be a bug fix:
http://www.cmake.org/Bug/bug.php?op=showbugid=2722
There was some discussion here:
http://public.kitware.com/pipermail/cmake/2006-January/007942.html
There seems to be an error in this bug-fix. As I understand it, the intent
was to still allow resolution
Hello all,
is it possible to create an installer package with CPack that contains both
release and debug installations of a software?
I have seen from the CVS' source code that currently there is an option
CPACK_BUILD_CONFIG, which seems to default to Release. Can I set this to
another value
Hello David
You should be able to use your own NSIS.template.in file if you name it
exactly the same as CMake's copy and then add the directory containing
your own copy of it to CMAKE_MODULE_PATH.
For example, if your copy is in a subdirectory of your source directory
named Templates, you
Hello all,
I have been looking for a way to modify various aspects of the
CPack-generated NSIS installer. I cannot put all these changes into
CPACK_NSIS_* commands. So I have modified the NSIS.template.in of CMake.
I would prefer to do that as clean as possible. Therefore I would like to
Hello,
I am using CMake 2.4.3 a little while now (on windows, linux, mac) and have
just begun discovering CPack. I have managed to create a simple installer on
a windows platform quite easily. But I am missing some kind of a
CPack-documentation. At least a list of command line parameters like
Hello Brad,
thanks for your reply!
It works now :)
Marco
-Ursprüngliche Nachricht-
Von: Brad King [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 12. Juni 2006 21:49
An: wedekind
Cc: cmake@cmake.org
Betreff: Re: [CMake] Variable denoting the object suffix
wedekind wrote
Hello Brad,
thanks for your reply!
It works now :)
Marco
-Ursprüngliche Nachricht-
Von: Brad King [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 12. Juni 2006 21:49
An: wedekind
Cc: cmake@cmake.org
Betreff: Re: [CMake] Variable denoting the object suffix
wedekind wrote
Hello all,
I am using CMake 2.2.3 and have a question about SET_TARGET_PROPERTIES and
GET_TARGET_PROPERTY.
If I am setting a target-specific property like this
SET_TARGET_PROPERTIES(myproject1 PROPERTIES myprop1 myvalue1)
I would like to read this property from another target myproject2 like
file
with CMake?
Thanks in advance and best regards
Marco
-Ursprüngliche Nachricht-
Von: William A. Hoffman [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 25. Januar 2006 19:55
An: wedekind; cmake@cmake.org
Betreff: Re: [CMake] CMake: Problem with reading files with semicolons
At 01:21
Hi all,
a quick question for CMake-gurus: Why do all semicolons disappear after
reading a file using
FILE(READ c:/some/file.txt TheFile)
???
If I print the output variable TheFile like this:
MESSAGE(${TheFile})
it is missing all semicolons! That is destroying my source files while I am
about
33 matches
Mail list logo