On 14. Jan, 2010, at 18:41 , Alexander Neundorf wrote:
On Thursday 14 January 2010, Michael Wild wrote:
On 14. Jan, 2010, at 10:43 , Michael Wild wrote:
Hi all
I normally never use cmake-gui, but did so for writing installation
instructions. While doing so I came across some oddities and
Yes, it worked for me.
But, as I already mentioned, be careful to mark the files as GENERATED and add
them to the ADDITIONAL_MAKE_CLEAN_FILES directory property. One caveat is,
however, that if you delete any of the output files, CMake won't regenerate
them unless you also delete the stamp
Hi Michael.
I got the same situation here. I am using a command which outputs a lot of
files (100 files).
Have you tried what David is suggesting?
Thank you to update us.
Cheers,
2010/1/13 Michael Wild them...@gmail.com
Hmmm, thought of something like that myself, but am not sure whether
Yes I knew for the GENERATED option.
This solution is a good work-around but still, it would be nice if CMake
could handle the situation this way:
# Generate Java / XML binding files
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/src/*.java
COMMAND ${JAVA_PATH}/xjc
Hi all,
Is it possible to somehow do a double @-substitution when using, e.g.,
configure_file, similar to a double ${${...}} construct.
$ cat myvar.cmake
message(STATUS @my...@=@@MYVAR@@)
message(STATUS ${MYVAR}=${${MYVAR}})
$ cmake -D MYVAR=Hello -D Hello=Hello World -P myvar.cmake
--
Thank you for your explanations.
It makes sense indeed. I will try what you have suggested before and see how
it goes.
Thank you again for your help.
Cheers,
2010/1/18 David Cole david.c...@kitware.com
On Mon, Jan 18, 2010 at 10:14 AM, Romain CHANU romainch...@gmail.comwrote:
Yes I knew
On Mon, Jan 18, 2010 at 10:14 AM, Romain CHANU romainch...@gmail.comwrote:
Yes I knew for the GENERATED option.
This solution is a good work-around but still, it would be nice if CMake
could handle the situation this way:
# Generate Java / XML binding files
add_custom_command(
OUTPUT
Hi
I started to implement a Xbox360 generator based on the Win 64 GlobalGenerator
variation (which is a different platform, treated similarly as a Xbox 360
platform).
Everything is in place (for the visual studio generator as a first step).
When I run the generator, I am not able to compile a
Michael,
How do you generate your sentinel or stamp used by your
add_custom_command?
Cheers,
Romain
2010/1/18 Michael Wild them...@gmail.com
Yes, it worked for me.
But, as I already mentioned, be careful to mark the files as GENERATED and
add them to the ADDITIONAL_MAKE_CLEAN_FILES
The reason the UseLATEX.cmake script copies files to the binary directory is
because the latex compiler has no equivalent to the -I flag. It always looks
for files with respect to the directory in which the command was run. Thus,
the easiest way to do an out-of-source build is to simply copy
set(srcs ...)
set(output ...)
set(target ...)
set(stamp-file
${CMAKE_CURRENT_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/precompile/${target}.stamp)
add_custom_command(
OUTPUT ${stamp-file}
COMMAND command-to-precompile ${srcs}
COMMAND ${CMAKE_COMMAND} -E touch ${stamp-file}
DEPENDS ${srcs}
Hi there,
I haven't found any information about a CMake roadmap. Are there any
concrete plans about the release of CMake 2.9 yet?
Greetings,
Johannes Felten
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
I haven't found any information about a CMake roadmap. Are there any
concrete plans about the release of CMake 2.9 yet?
2.9 is a development build. Even numbers are released while odd ones
are development. As for your question I do not know. But I can safely
say it will not be in this quarter
I came across the same problem. I never really found a suitable
working solution.
___
Mike Jackson www.bluequartz.net
Principal Software Engineer mike.jack...@bluequartz.net
BlueQuartz Software
On Mon, Jan 18, 2010 at 10:28 AM, Marcel Loose lo...@astron.nl wrote:
Hi all,
Is it possible to somehow do a double @-substitution when using, e.g.,
configure_file, similar to a double ${${...}} construct.
$ cat myvar.cmake
message(STATUS @my...@=@@MYVAR@@)
message(STATUS
thanks for the explanation. i hope you didnt feel offended. the uselatex.cmake
is great. without that, i wouldn't even had a clue where to start :)
cheers,
keyan
On 18 Jan 2010, at 17:12, Moreland, Kenneth wrote:
The reason the UseLATEX.cmake script copies files to the binary directory is
Hi there
Is there a way to set up precompiled headers for Mac OS X (10.5 and
10.6) using CMake? I've seen some doco on how its done for Win32, but
none for the Mac system yet.
Any help appreciated.
Thanks,
--
John Clayton
___
Powered by
On Saturday 16 January 2010, you wrote:
...
Thanks ;)
That will help in this case as flex is fast, but I have the same problem
with other files which need some time for generation and should not be
regenerated on any make call. Is there any other way, to create a target
which requires the
Hi,
Effectively, I have reproduced your two bugs by using make -j. It's not
systematic (once in ten).
Error: The file /Users/zahedi/Downloads/code-analysis-build/io.cmo is not
a bytecode object file
When this error occurs, it also appears that the object is being built. And
if I rerun make,
Hi,
There is SORT command for lists:
list(SORT list)
I believe it would make sense to have UNIQUE command too:
list(UNIQUE list)
unless it's already available and I've not read the doc
carefully, have I?
Perhaps it would be trivial to implement by CMake gurus :-)
Best regards,
--
Mateusz
Hi,
In CMakeLists.txt I have something like this:
if(MSVC)
set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} /W4)
endif()
I configure my build using command prompt of Visual Studio 2005 (8.0):
D:\dev\geos\_svn\build-nmakecmake -G NMake Makefiles ..\trunk
and the compiler flags look as follows:
On Tue, Jan 19, 2010 at 12:17:04AM +, Mateusz Loskot wrote:
I believe it would make sense to have UNIQUE command too:
list(UNIQUE list)
unless it's already available and I've not read the doc
carefully, have I?
It's called REMOVE_DUPLICATES.
tyler
Hi,
There is SORT command for lists:
list(SORT list)
I believe it would make sense to have UNIQUE command too:
list(UNIQUE list)
unless it's already available and I've not read the doc
carefully, have I?
Perhaps it would be trivial to implement by CMake gurus :-)
Best regards,
--
Mateusz
Hi,
In CMakeLists.txt I have something like this:
if(MSVC)
set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} /W4)
endif()
I configure my build using command prompt of Visual Studio 2005 (8.0):
D:\dev\geos\_svn\build-nmakecmake -G NMake Makefiles ..\trunk
and the compiler flags look as follows:
On Mon, Jan 18, 2010 at 7:17 PM, Mateusz Loskot mate...@loskot.net wrote:
Hi,
In CMakeLists.txt I have something like this:
if(MSVC)
set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} /W4)
endif()
I configure my build using command prompt of Visual Studio 2005 (8.0):
hi,
i had the same problems before i wrote my useocaml.cmake. actually, that was
the main reasons for writing it. i solved the problems by getting all the
depencies right. my guess is, that a few additional add_depencies will solve
the problem. as soon as i have a little bit time, i will check
26 matches
Mail list logo