Apart from the typos already pointed out by Martin, what is the
define_custom_target() command? Did you mean add_custom_command() or
add_custom_target()? If so, the syntax is completely wrong. If you
meant add_dependencies(), then that is also wrong, because
add_dependencies only operates on
Not directly. But if you analyze Update.xml after a ctest_update call, you
can parse it out...
On Wed, Feb 9, 2011 at 7:13 AM, Johan Björk p...@spotify.com wrote:
Hi everyone,
Does ctest expose a way to get the old (and new I guess) revision of a
source tree?
/Johan
Hi all,
I'm trying to make a FindMKL.cmake file (for Intel MKL) to handle Windows and
Mac OS X primarily. However, I thought that CMake would find my
FindMKL.cmake file if being in the same directory as the calling CMakeLists.txt
file ? Can I make CMake find the file without having to resort
On 02/09/2011 01:50 PM, Robert Bielik wrote:
Hi all,
I'm trying to make a FindMKL.cmake file (for Intel MKL) to handle
Windows and Mac OS X primarily. However, I thought that CMake would find my
FindMKL.cmake file if being in the same directory as the calling
CMakeLists.txt file ? Can I
Michael Wild skrev 2011-02-09 14:07:
that's what the CMAKE_MODULE_PATH variable is for. And there is a
FindLAPACK.cmake should already find Intel MKL, however IMHO the whole
module is rather broken...
Thnx Michael, I found that seconds after pressing the send button :) Thanks for
pointing to
On Wed, Feb 9, 2011 at 8:20 AM, Robert Bielik robert.bie...@xponaut.sewrote:
Michael Wild skrev 2011-02-09 14:07:
that's what the CMAKE_MODULE_PATH variable is for. And there is a
FindLAPACK.cmake should already find Intel MKL, however IMHO the whole
module is rather broken...
Thnx
Il 08/02/2011 17.58, Alexander Neundorf ha scritto:
On Tuesday 08 February 2011, Andrea Galeazzi wrote:
Il 18/01/2011 19.17, Alexander Neundorf ha scritto:
On Tuesday 18 January 2011, Andrea Galeazzi wrote:
...
I just read that wiki page but what I didn't find is how can I see
David Cole skrev 2011-02-09 14:31:
Is there some way I can make file(GLOB_RECURSE... ) start at a directory of
my choice (instead of the current CMakeLists.txt folder) ?
file(GLOB_RECURSE ${dir}/*)
Yes, and that will return file names. Would be nice to have a directive
Hi everybody,
I' m trying to use ExternalProject to wrap serveral building recipies
for different packages I have to use:
I am taking the habit of using it as a replacement of shell scripts or
manual session for building from source.
In my usage I found some problems, possibly due to my
hi all,
i am currently trying to adapt a cmake build system to build an osx app.
the specific code is:
INSTALL(CODE
include(BundleUtilities)
fixup_bundle(\${CMAKE_CURRENT_BINARY_DIR}/${myappbundlename}.app\ \\
\${CMAKE_CURRENT_BINARY_DIR}\)
COMPONENT Runtime)
however it doesn't
I think I found a CMake bug where cache variables set on the
command-line (CMAKE_INSTALL_PREFIX:PATH) are not set as expected when
the cache is deleted by cmake because a variable like
CMAKE_C_COMPILER:FILEPATH is set. I've reduced this down as much as I
could. I'm demonstrating the bug using
Hello Micheal *,
sorry for the messed up posting, please forget it. Thanks to a bad connection
I ended up posting a draft, I should have been more careful I realise I need
some more work to submit a meaningful question to the list. Best,
Federico Carminati
CERN-PH
1211 Geneva 23
On 02/08/2011 08:12 PM, Jed Brown wrote:
On Mon, Feb 7, 2011 at 23:35, Jed Brown j...@59a2.org wrote:
On Fri, Feb 4, 2011 at 01:31, Michael Hertling mhertl...@online.dewrote:
With a Makefile generator, you might use a RULE_LAUNCH_COMPILE property:
SET_TARGET_PROPERTIES(target PROPERTIES
On Wed, Feb 9, 2011 at 9:15 AM, Robert Bielik robert.bie...@xponaut.sewrote:
David Cole skrev 2011-02-09 14:31:
Is there some way I can make file(GLOB_RECURSE... ) start at a
directory of my choice (instead of the current CMakeLists.txt folder) ?
file(GLOB_RECURSE ${dir}/*)
David Cole skrev 2011-02-09 16:32:
You can iterate the returned list something like this to accumulate just
directory names:
set(dirs )
foreach(f ${glob_results})
if(IS_DIRECTORY ${f})
set(dirs ${dirs} ${f})
endif()
endforeach()
Yes, not bad. Good idea, thnx.
/Rob
David Cole skrev 2011-02-09 16:32:
You can iterate the returned list something like this to accumulate just
directory names:
set(dirs )
foreach(f ${glob_results})
if(IS_DIRECTORY ${f})
set(dirs ${dirs} ${f})
endif()
endforeach()
Hmm... doesn't work. find(...) doesn't return
What does this return if you save it as glob.cmake and then run cmake -P
glob.cmake ??
file(GLOB results /*)
set(dirs )
foreach(f ${results})
if(IS_DIRECTORY ${f})
set(dirs ${dirs} ${f})
message(directory: '${f}')
else()
message(file: '${f}')
endif()
endforeach()
On 02/09/2011 04:41 PM, Robert Bielik wrote:
David Cole skrev 2011-02-09 16:32:
You can iterate the returned list something like this to accumulate
just directory names:
set(dirs )
foreach(f ${glob_results})
if(IS_DIRECTORY ${f})
set(dirs ${dirs} ${f})
endif()
endforeach()
Ah I know what it is. If you use GLOB_RECURSE you only get files
because the directories are recursed into.
You have to use GLOB alone and do the recursion manually if you want to
descend into found directories... Painful. But still possible.
On Wed, Feb 9, 2011 at 10:48 AM, David Cole
Hi,
I'm looking for a way to parse information from source files and feed the
outcome as input to the build process.
In more detail, I have Fortran files that contain information about what
optimization flags should be fed to the compiler.
Currently there is a python script that does
David Cole skrev 2011-02-09 16:49:
Ah I know what it is. If you use GLOB_RECURSE you only get files because
the directories are recursed into.
You have to use GLOB alone and do the recursion manually if you want to descend
into found directories... Painful. But still possible.
Something
On Wed, Feb 09, 2011 at 05:24:28PM +0100, Verweij, Arjen wrote:
Currently there is a python script that does preprocessing of all
source, stores information in override.cmake files using
set_source_file_properties(). This works fine, but makes maintaining
source more error prone than it was.
Hello everyone,
i created cmake files for a visual studio solution.
The solution compiles, and now I want to
start debugging the testapplication.
I want to change the command line option,
which is used by the debugger, to invoke the application.
How can this be done?
I use cmake 2.8.3 and
Hello everyone,
i created cmake files for a visual studio solution.
The solution compiles, and now I want to
start debugging the testapplication.
I want to change the command line option,
which is used by the debugger, to invoke the application.
How can this be done?
I use cmake 2.8.3
Oh sorry if I was not completely clear.
I wanted to access these settings throught cmake.
Greetings Louis
Am 09.02.2011 19:59, schrieb Rolf Eike Beer:
Hello everyone,
i created cmake files for a visual studio solution.
The solution compiles, and now I want to
start debugging the
Louis Hoefler skrev 2011-02-09 19:41:
Hello everyone,
i created cmake files for a visual studio solution.
The solution compiles, and now I want to
start debugging the testapplication.
I want to change the command line option,
which is used by the debugger, to invoke the application.
How can
Oh sorry if I was not completely clear.
I wanted to access these settings throught cmake.
You're lost (i.e. there is no way currently to do this).
Eike
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
On Wed, Feb 9, 2011 at 2:30 PM, Robert Bielik robert.bie...@xponaut.se wrote:
Louis Hoefler skrev 2011-02-09 19:41:
Hello everyone,
i created cmake files for a visual studio solution.
The solution compiles, and now I want to
start debugging the testapplication.
I want to change the command
On Wednesday 09 February 2011, Enrique Izaguirre wrote:
Thanks a lot,
I removed the CXX from the Project() and now both compilers are recognized
and the problem was solved.
Really appreciate your help
You're welcome :-)
Nice that it's working now for you
Alex
P.S. please keep replys on
This is what my CreateLaunchers.cmake script does -
https://github.com/rpavlik/cmake-modules
https://github.com/rpavlik/cmake-modulesLets you do this:
create_default_target_launcher(yourapp
ARGS
${COMMAND_LINE_ARGS}
RUNTIME_LIBRARY_DIRS
${RUNTIME_LIBRARY_DIRS}
WORKING_DIRECTORY
Hi Luigi,
You will find some comments below ...
Jc
On Wed, Feb 9, 2011 at 9:07 AM, Luigi Calori l.cal...@cineca.it wrote:
Hi everybody,
I' m trying to use ExternalProject to wrap serveral building recipies for
different packages I have to use:
I am taking the habit of using it as a
Michael Wild skrev 2011-02-09 16:48:
what about this:
file(GLOB_RECURSE glob_results /some/pattern*)
set(dirs)
foreach(f IN LISTS glob_results)
get_filename_component(d ${f} PATH)
list(APPEND dirs ${d})
endforeach()
list(REMOVE_DUPLICATES dirs)
Yeah, works fine but it seems to be a lot
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.
The branch, next has been updated
via 165034993c64353f1218bb93310dc88b9126d464 (commit)
via
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.
The branch, next has been updated
via f80bb47cb72b9fe9607e740766a188ccdebf34dd (commit)
via
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.
The branch, next has been updated
via 754520b2b5d2cb6c9e74c266d82fa6189702b7b3 (commit)
via
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.
The branch, next has been updated
via 1e305de012b9c92f9121c4a875254474a443f648 (commit)
via
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.
The branch, next has been updated
via b4c53924a9ad2ca4a2e5546a6bdd479228cf8e2f (commit)
via
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.
The branch, master has been updated
via e53b7cbadf1b7faf353e91b6041a697a90d9584d (commit)
from
38 matches
Mail list logo