On 17-11-2010 at 23:28, in message
aanlktin6z9rxfqprwdux-qge4b_wych_fvy9dyo7d...@mail.gmail.com, David
Cole
david.c...@kitware.com wrote:
On Wed, Nov 17, 2010 at 4:50 PM, Alexander Neundorf
neund...@kde.org wrote:
On Wednesday 17 November 2010, David Cole wrote:
2010/11/17 Alexander Neundorf
On Thursday 18 November 2010, Marcel Loose wrote:
...
Hi all,
I've been following this discussion with interest for quite a while. I
was wondering if both worlds could be united (Alex's and David's) if it
were possible to set cmake_minimum_required on the command line? That
way Alex can be
On Thursday 18 November 2010, Brad King wrote:
On 11/18/2010 04:29 AM, Marcel Loose wrote:
...
This entire issue is about projects using CMAKE_MODULE_PATH to override
standard CMake modules (accidentally or intentionally). This policy
changes the *granularity* at which that has to happen.
Dear All,
I am using CMake 2.8.1 on Linux x86. I have a project that needs to be built
two times. One with -fPIC, the other - without. The project depends on header
files that need to be generated by an external script.
When I build this project with several parallel jobs (gmake -j5, for
On 18-11-2010 at 13:06, in message
306960.51089...@web65407.mail.ac4.yahoo.com, Denis Scherbakov
denis_scherba...@yahoo.com wrote:
Dear All,
I am using CMake 2.8.1 on Linux x86. I have a project that needs to
be built
two times. One with -fPIC, the other - without. The project depends
on
2010/11/18 Denis Scherbakov denis_scherba...@yahoo.com:
Dear All,
I am using CMake 2.8.1 on Linux x86. I have a project that needs to be built
two times. One with -fPIC, the other - without. The project depends on header
files that need to be generated by an external script.
When I build
Hi!
What I mean is:
PROJECT(MYPROJECT)
ADD_CUSTOM_COMMAND( OUTPUT ${PROJECT_BINARY_DIR}/MyFile.hh COMMAND
${CMAKE_COMMAND} -P MyScript.cmake)
SET_SOURCE_FILE_PROPERTIES(${PROJECT_BINARY_DIR}/MyFile.hh PROPERTIES
GENERATED TRUE HEADER_FILE_ONLY TRUE)
SET (MYPROJECT_SRCS
MyFile.hh
On Thu, Nov 18, 2010 at 8:34 AM, Denis Scherbakov
denis_scherba...@yahoo.com wrote:
Hi!
What I mean is:
PROJECT(MYPROJECT)
ADD_CUSTOM_COMMAND( OUTPUT ${PROJECT_BINARY_DIR}/MyFile.hh COMMAND
${CMAKE_COMMAND} -P MyScript.cmake)
SET_SOURCE_FILE_PROPERTIES(${PROJECT_BINARY_DIR}/MyFile.hh
When configuring ParaView (and other applications), I see this:
CTest cannot determine repository type. Please set UPDATE_TYPE to 'cvs' or
'svn'. CTest update will not work.
Is CTest aware of git?
Thanks,
David
___
Powered by www.kitware.com
Visit
Hi, David,
I did as you suggested:
ADD_CUSTOM_COMMAND(OUTPUT MyFile.hh ...)
ADD_CUTSOM_TARGET(MyHeaders DEPENDS MyFile.hh)
ADD_LIBRARY(MYLIB ${MYLIB_SRCS})
ADD_DEPENDENCIES(MYLIB MyHeaders)
ADD_LIBRARY(MYLIBpic ${MYLIB_SRCS})
ADD_DEPENDENCIES(MYLIBpic MyHeaders)
Didn't work. Target
Try:
ADD_CUSTOM_TARGET(MyHeaders ALL DEPENDS MyFile.hh)
Without the ALL your target is not included in the set of targets
built by a make or a make all -- without your target included in
make there is nothing for the subsequent targets to depend on.
Perhaps we should add a warning to
David,
Thank you for spending your time to resolve my problem.
Unfortunately you suggestion did not help.
Introduction of new custom targets in my case leads to the fact that
I have one custom target that depends on another custom target. I get:
gmake[3]: *** No rule to make target
Hello,
I'm using CMake custom commands to copy files from a source directory to a
project binary one. The copying commands itself looks this way:
add_custom_command( OUTPUT ${dest_file}
COMMAND ${CMAKE_COMMAND} -E copy ${src_file} ${dest_file}
DEPENDS ${src_file}
)
After all
Here is a sample CMakeLists.txt to illustrate that two custom targets cannot
depend on each other:
PROJECT(BUG C)
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/fileOne
COMMAND ${CMAKE_COMMAND}
ARGS -E
touch
On Thu, Nov 18, 2010 at 1:08 PM, Denis Scherbakov
denis_scherba...@yahoo.com wrote:
Here is a sample CMakeLists.txt to illustrate that two custom targets cannot
depend on each other:
PROJECT(BUG C)
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
ADD_CUSTOM_COMMAND(
OUTPUT
On 2010-11-18 07:18-0800 Denis Scherbakov wrote:
David,
Thank you for spending your time to resolve my problem.
Unfortunately you suggestion did not help.
Introduction of new custom targets in my case leads to the fact that
I have one custom target that depends on another custom target. I
2010/11/18 David Cole david.c...@kitware.com:
On Thu, Nov 18, 2010 at 1:08 PM, Denis Scherbakov
denis_scherba...@yahoo.com wrote:
Here is a sample CMakeLists.txt to illustrate that two custom targets cannot
depend on each other:
PROJECT(BUG C)
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
On Wednesday 17 November 2010, luxInteg wrote:
Greetings,
I am learning cmake.
I am looking for a tool to converta build system fom autoconf to
cmake. II came across am2cmake available at
http://websvn.kde.org/trunk/KDE/kdesdk/cmake/scripts/
It is very kde3 specific, I was wondering
Greetings
I am learning cmake
I downloaded CMakeUseLatex from
http://www.cmake.org/Wiki/CMakeUserUseLATEX
and I scanned through the pdf file but I did not see any references to TEX
binaries such docbook2html, dblatex etc. So lets say I have a couple a
docbook_xml files xyxy.docbook
UseLATEX.cmake has no facilites for docbook. It was designed strictly with the
latex and pdflatex programs in mind.
-Ken
On 11/18/10 2:59 PM, luxInteg lux-in...@btconnect.com wrote:
Greetings
I am learning cmake
I downloaded CMakeUseLatex from
http://www.cmake.org/Wiki/CMakeUserUseLATEX
Hi all,
I have three g++ versions installed. Debian's native g++-4.3 and
g++-4.4 both use /usr/lib/libstdc++.so.6.13, while
/usr/local/bin/g++-4.5 needs /usr/local/lib64/libstdc++.so.6.14.
If I use CXX=/usr/local/bin/g++-4.5 at configure time, executables
are linked against
Hi,
I apologize of this is a trivial question but I cannot seem to find an answer
or get it to work. I am building an installation package for MacOS X using
package maker. I cannot figure out how to let the user override the
installation directory when they open the .mpkg file. Can anyone
On 11/18/2010 11:01 PM, Russell L. Carter wrote:
Hi all,
I have three g++ versions installed. Debian's native g++-4.3 and
g++-4.4 both use /usr/lib/libstdc++.so.6.13, while
/usr/local/bin/g++-4.5 needs /usr/local/lib64/libstdc++.so.6.14.
If I use CXX=/usr/local/bin/g++-4.5 at configure
BRL-CAD's experimental CMake build is using xsltproc and fop currently
rather than TEX binaries, but the techniques probably can be adapted to
other tools - you might want to take a look at:
Hi. I'm having some issues with the install() command in CMake. I have
the following code:
#Install headers
set(HEADERS
test.hpp)
foreach(HEADER ${HEADERS})
install(TARGETS ${CMAKE_CURRENT_SOURCE_DIR}/include/${HEADER}
DESTINATION ${CMAKE_INSTALL_PREFIX}/include/PROJECT/${HEADER})
On Thu, Nov 18, 2010 at 10:55:15PM -0500, Braden Walters wrote:
#Install headers
set(HEADERS
test.hpp)
foreach(HEADER ${HEADERS})
install(TARGETS ${CMAKE_CURRENT_SOURCE_DIR}/include/${HEADER}
DESTINATION ${CMAKE_INSTALL_PREFIX}/include/PROJECT/${HEADER})
endforeach()
Try
On 11/18/2010 10:59 PM, luxInteg wrote:
Greetings
I am learning cmake
I downloaded CMakeUseLatex from
http://www.cmake.org/Wiki/CMakeUserUseLATEX
and I scanned through the pdf file but I did not see any references to TEX
binaries such docbook2html, dblatex etc.
Those are NOT TeX
Hi,
I've found an example to use bison and flex in cmake.
I have a static library where I want to add the generated
sources but the dependencies are not triggered. Why?
project(test)
include_directories(.
${CMAKE_BINARY_DIR}/libs/test)
add_custom_target(ScannerAndParser
2010/11/19 Thomas Lehmann t.lehm...@rtsgroup.net
Hi,
I’ve found an example to use bison and flex in cmake.
I have a static library where I want to add the generated
sources but the dependencies are not triggered. Why?
project(test)
include_directories(.
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 0166ccc7294aab30d1eb8323172c11db34ade416 (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 417739a991351c2e0b3138ee9a756e95865bd2ce (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 a82616e2abec51b9f30e53b7c2b32de17488467e (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 acf60463deb97bb29ba6e9ec1a7783594a3609cb (commit)
from
33 matches
Mail list logo