Thanks Philip,
I had considered the alias option before, but wanted to rule out that there
was no way of doing it the scope of a cmake project, however strange that
may sound. I will probably take that path now.
Cheers,
Adolfo
On Thu, Mar 5, 2009 at 7:37 AM, Philip Lowman phi...@yhbt.com
2009/3/5 Adolfo Rodríguez dof...@gmail.com:
Thanks Philip,
I had considered the alias option before, but wanted to rule out that there
was no way of doing it the scope of a cmake project, however strange that
may sound. I will probably take that path now.
Note that I find the idea of being
Hi there,
I just tried building a JAR file with CMake. The project structure
looks like this:
java_projects/
+ CMakeLists.txt
+ Project1/
+ MANIFEST.MF
+ src/
+ com
+ ... and so
I would definitely support the idea. It's more or less what I was looking
for. I have a question on the proposal: Would the -Go flags have to be set
once per build folder (as the -G flag is), or could it be reset in succesive
runs of cmake? Both alternatives would work for me, but I think I prefer
On 5. Mar, 2009, at 10:53, Adolfo Rodríguez wrote:
I would definitely support the idea. It's more or less what I was
looking
for. I have a question on the proposal: Would the -Go flags have to
be set
once per build folder (as the -G flag is), or could it be reset in
succesive
runs of
I would like to second this idea, because it would solve another problem
I'm having regarding CMake and environment variables.
Not to mention that being able to set the default to -j4 would be useful
for internal projects where it's known that all machines building the
project will have uniform
On Thu, Mar 5, 2009 at 11:17 AM, Kito Berg-Taylor
kito.berg-tay...@dlr.dewrote:
I would like to second this idea, because it would solve another problem
I'm having regarding CMake and environment variables.
Oh, now that you mention environment variables, I think I could also
benefit from
Hi,
after looking through the documentation of CMake, I am a litte confused, how
to help CMake to find packages bulit by CMake.
The find_package command supports both xxx-config.cmake and
FindXXX.cmake. What is the prefered method for an package which was built by
CMake to be found? Should it
Hi,
I was wondering whether it's possible to invoke a macro through a
variable. The variable contains a command (or list of commands) to be
invoked.
For example:
macro(do_it)
message(STATUS do_it)
endmacro(do_it)
set(cmd do_it)
${cmd}() # -- This doesn't work, but is there a way to do
On Tue, Mar 3, 2009 at 3:06 PM, Steven Wilson
steven.wesley.wil...@gmail.com wrote:
As a new member of the list, I just wanted to say thanks for providing this
forum as a place to get answers about cmake!
First, the problem: I have a software system composed of a number of
source files in
On Tue, Mar 3, 2009 at 9:06 PM, Steven Wilson
steven.wesley.wil...@gmail.com wrote:
As a new member of the list, I just wanted to say thanks for providing this
forum as a place to get answers about cmake!
First, the problem: I have a software system composed of a number of
source files in C.
CMake version 2.7-20080708
Mac OSX 10.5
XCode 3.0
I have a problem with add_dependencies.
If I add an imported static lib like this:
add_library(mylib STATIC IMPORTED)
and try to add a dependency to this target on another target like this:
add_dependencies(myapp mylib)
I get the following
So the problem with CCMake forgetting valid user input stems from the
entire CMakeCache.txt file getting deleted if there's a compiler
mismatch?
On Tue, Mar 3, 2009 at 11:21 AM, Bill Hoffman bill.hoff...@kitware.com wrote:
Mathieu Malaterre wrote:
On Tue, Mar 3, 2009 at 4:20 PM, kent williams
Hello Marcel,
Quote from http://cmake.org/cmake/help/syntax.html
CMake supports simple variables that can be either strings or lists of strings.
Variables are referenced using a ${VAR} syntax. Multiple arguments can be
grouped
together into a list using the set command. All other commands
Hello:
I am trying to assemble sources that are distributed across a number of
subdirectories into a variable for inclusion in an add_library command.
I've tried using PARENT_SCOPE to do so, but I haven't been successful.
Here is a specific example:
toplevel CMakeLists.txt:
Yeah, if you're comfortable using the Unix command line, using
non-interactive CMake this way is almost always an easier path to joy
than using the GUI or Curses interactive application.
It's why the Slicer people spent considerable time putting together a
suite of TCL scripts to do their builds,
CMake is looking for file.cpp in the top level directory.
In your sub, do this instead:
set(subfiles ${CMAKE_CURRENT_SOURCE_DIR}/file.cpp PARENT_SCOPE)
On Thu, Mar 5, 2009 at 10:22 AM, mbrit...@astro.caltech.edu wrote:
Hello:
I am trying to assemble sources that are distributed across a
The example I gave is only just an example for illustrating my question
about Xcode and the true source files. The actual code does have unique
names for tmpfile so it will work correctly in a parallel build.
On Thu, Mar 5, 2009 at 6:28 AM, Mathieu Malaterre
mathieu.malate...@gmail.com wrote:
Thanks for the suggestion, I will give it a try!
On Thu, Mar 5, 2009 at 6:22 AM, Philip Lowman phi...@yhbt.com wrote:
On Tue, Mar 3, 2009 at 3:06 PM, Steven Wilson
steven.wesley.wil...@gmail.com wrote:
As a new member of the list, I just wanted to say thanks for providing
this forum as a
Hello David:
Thank you for your comment - with your correction, things worked as I'd
hoped.
Many thanks
Matthew
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep
Is there a way to reset the directory lists created by include_directories
and link_directories?
Thanks,
Steve
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep
kent williams wrote:
So the problem with CCMake forgetting valid user input stems from the
entire CMakeCache.txt file getting deleted if there's a compiler
mismatch?
Yes, that is what happens. The use case that this was supposed to
address was this:
ccmake ../source
- oops, I did not
On Wed, Mar 04, 2009 at 11:10:42PM +0200, Iwan Aucamp wrote:
Would it be possible to have CMAKE run a custom command with following
paramters if the build fails to compile:
* source file
* line number
So that the above can be used by a script to determine change set and
commiter
Hello All,
I'm trying to disable incremental linking in my VS2008 project. To
achieve it I used CMAKE_EXE_LINKER_FLAGS and CMAKE_EXTRA_LINK_FLAGS
flags.
SET( CMAKE_EXTRA_LINK_FLAGS ${CMAKE_EXTRA_LINK_FLAGS} /INCREMENTAL:NO )
Unfortunately, neiher first nor send flags does not affect generated
Hi All,
Some colleagues and myself are in the process of wiring in coverage
reports through CTest and CDash. We have noticed that the percentage of
code covered is not including source files for which no tests exist.
The percentage isn't accurate because if our library has 8 source files
and
Hello David,
Unfortunately there is no really good way for CTest to guess all the lines
from the source code. We use GCov output, which contains the actual lines
and their corresponding coverage. If the file is not used, then GCov will
not contain any information and therefore it will be ignored.
In itk, we have header smoke tests that include each header file. The
test main just returns success. This will cause non-templated code to
be compiled and it will show up in the coverage reoptrs. There is
still a problem if you use templated code and do not instantiate at
least one copy of the
Hello,
I started writing a bug report but I'm not really sure if this is a
bug or a feature.
On Win32, if you assign a path value to a variable in a
CMakeLists.txt, then open the CMakeLists.txt with the CMakeQtGui, it
will convert all the backslashes to forward-slashes, although this
might not
I forgot to say if I edit the variable value in the Qt GUI and replace
C://Intersystems//Cache with C:\\Intersystems\\Cache, the
backslashed value is stored in the cache and shdir.c contains the
expected output (with '\\').
But if I call CMake form the command line:
cmake
How about just using forward slashes everywhere and use
file(TO_NATIVE_PATH ...) for the variable substituted by
configure_file(...).
That works without problems for me.
Then you don't have to have any \\ for escaping or for twice
escaping.
Clint
Pau Garcia i Quiles wrote:
I forgot
Hi
I'm writing a grand top-level CMakeLists.txt that delegates to a number of
CMakeLists.txt in various subdirectories:
add_subdirectories(foo)
add_subdirectories(bar)
Is there a straightforward to get cmake to do a make install for foo before
continuing on to do bar? And to prevent a parallel
I am trying to use CMake to configure a cross platform project I'm
developing. On platforms that have IDE's such as Mac OS X and Windows,
the configuration work fine in that programs can be built with debug
information for development purposes. On Linux, I am just using
Makefiles and no
If you're using CMAKE_BUILD_TYPE=Debug the debugging symbols should all be
there.
cmake -DCMAKE_BUILD_TYPE=Debug ..
On Thu, Mar 5, 2009 at 10:58 PM, Tron Thomas tron.tho...@verizon.netwrote:
I am trying to use CMake to configure a cross platform project I'm
developing. On platforms that have
Folks, looks like I've solved this problem by changing a bit all
add_subdirectory commands which pointed to libraries outside the
current project's directory. So, instead of this:
add_subdirectory(${foo_SOURCE_DIR}/../shared/lib/boost ${foo_BINARY_DIR})
...now I'm using this:
CMake version 2.6
Mac OSX 10.5
XCode 3.0
My problem is that I have the situation I described in the bottom.
I have one app and one lib in one project. If I change something in my
lib everything is compiled and the app starts but the app didn't link
the lib again.
The only solution is to
The CTest documentation online appears like it wasn't generated from the
2.6.3 source release. Just noticed this by accident tonight and wanted to
mention it.
http://www.cmake.org/cmake/help/ctest2.6docs.html#command:ctest_update
- *ctest_submit*: Submits the repository.
On Thu, Mar 5, 2009 at 7:10 PM, Bill O'Hara billtoh...@gmail.com wrote:
Hi
I'm writing a grand top-level CMakeLists.txt that delegates to a number of
CMakeLists.txt in various subdirectories:
add_subdirectories(foo)
add_subdirectories(bar)
Is there a straightforward to get cmake to do a
37 matches
Mail list logo