On Tue, Apr 2, 2013 at 9:19 AM, Brad King brad.k...@kitware.com wrote:
...
a side effect? Is there another way to do this in CMake's Ninja gen?
Yes I have found a way we can do this in CMake's Ninja generator.
The Ninja generator needs to be taught to create phony ninja targets for
any file
On 04/01/2013 10:25 AM, Brad King wrote:
http://www.cmake.org/Bug/view.php?id=14041
Our usr-move changes to hard-code the /usr prefix conflicts with
cross-compiling cases where the host side relocates a package
under some new root and finds it with CMAKE_FIND_ROOT_PATH.
Here is a fix using
Hi,
I was updating my machine earlier today, and wanted to build the
latest CMake master (00ef90). I am using Arch Linux with Qt 4 and Qt 5
installed. If I compile with qmake-qt4 then I see the following
compile failure,
[ 88%] Generating qrc_CMakeSetup.cpp
/bin/sh: //bin/rcc: No such file or
On 09/21/2012 04:36 PM, Stephen Kelly wrote:
Hi,
This page has links for various versions of cmake:
http://www.cmake.org/cmake/help/documentation.html
Would it be possible to get a 'latest' url too, such as
http://www.cmake.org/cmake/help/latest/cmake.html
It would make more
2013/4/3 Saad Khattak saadrus...@gmail.com
That prints the directory in the console:
Z:/engine/src/mySDK
But did not extract to it. Note that mySDK exists, and the tar is in the
'src' folder and I am able to extract in the 'src' folder properly.
Ok this is weird.
Which version of CMake
You should find this interesting:
http://www.cmake.org/Wiki/CMake/Tutorials/How_to_create_a_ProjectConfig.cmake_file
In short:
* In project A create a AConfig.cmake file and export your targets
* In project B call find_package(A REQUIRED)
HTH
Michael
On Wed, Apr 3, 2013 at 7:44 AM, Saad
Hi,
On Tuesday, 2. April 2013, 06:42:47, Ashi wrote:
I think I find something to explain this: the config.cmake(the
CMAKE_TOOLCHAIN_FILE) is reloaded several times. on first-load, the A is
set, but on second-load and later-load, the A is not set. I think I can get
around this problem when A
On 03. april 2013 13:13, Johannes Zarl wrote:
Hi,
On Tuesday, 2. April 2013, 06:42:47, Ashi wrote:
I think I find something to explain this: the config.cmake(the
CMAKE_TOOLCHAIN_FILE) is reloaded several times. on first-load, the A is
set, but on second-load and later-load, the A is not set.
Hello,
Summary: How do I use CMake to compile object files? Or is this the
wrong question to ask? (i.e. *should* I be compiling object files?)
Details:
-
I am starting to learn CMake, so I am not even sure I am formulating
my questions the right way... I have a large Makefile that I want
Hello Daniel,
I'm also starting with CMake and I had a problem to link an object to my
project. I will describe you what I did because it works for me but keep in
mind that maybe there is a better way.
First, you can compile object files with the command execute_process:
All of these articles say the way to avoid having an absolute path stored
in the linked output is to use -L dir -l lib ... which is definatly not
what cmake is producing. Reflecting on this, maybe I can replace
target_link_libraries with manually specified link_flags; maybe some sort
of similarly
Hi Daniel,
On Wednesday, 3. April 2013, 16:06:36, Daniel Carrera wrote:
Summary: How do I use CMake to compile object files? Or is this the
wrong question to ask? (i.e. *should* I be compiling object files?)
Short answer: normally you don't and you shouldn't add statements to compile
object
Hello,
I am trying to use CMake 2.6 to build Google Test. As mentioned in the
README of Google Test, I have issued following commands:
mkdir mybuild # Create a directory to hold the build output.
cd mybuild
cmake D:\gtest-1.6.0 #
But I get following errors:
CMake Error: CMake was
On Wednesday 03 April 2013 19:54:25 Dan page wrote:
Hello,
I am trying to use CMake 2.6 to build Google Test. As mentioned in the
README of Google Test, I have issued following commands:
mkdir mybuild # Create a directory to hold the build output.
cd mybuild
cmake
alternate target_link_libraries. Usage is the same. Test if each library
to link is a target, get that targets path, and break it into parts and add
it to LINK_FLAGS else add with target_link_libraries...
macro(my_target_link_libraries target )
if(CMAKE_COMPILER_IS_GNUCC)
foreach(
I already have CMake 2.8.1 installed. Sorry for not specifying that earlier.
I also have installed the GIT repository version of VTK.
If CMake is not found then it is either not properly installed or not
in your path.
John
--
Powered by www.kitware.com
Visit other Kitware open-source
I am using version 2.8.8. I am running Windows 7 and do not use cygwin,
only native CMake.
cd Z:/engine/src/mySDK
cmake -E tar xvf ../mySDK.tar.gz
That works. The tar is successfully extracted to the mySDK folder. As
before, it appears it can only extract to the current directory.
- Saad
On
Hi Johannes,
On 3 April 2013 17:44, Johannes Zarl johannes.z...@jku.at wrote:
Short answer: normally you don't and you shouldn't add statements to compile
object files.
CMake is a build system generator, not a build-system in itself. I.e. you only
tell cmake I want to build library A from
Thanks Michael. The link is very helpful (although very hard to digest
[probably because I am new to CMake] - I have gone over it multiple times
now and don't fully understand everything). I will experiment with those
commands in my projects.
- Saad
On Wed, Apr 3, 2013 at 2:52 AM, Michael Wild
Hi,
I am having a hard time understanding some commands in CMake which by the
looks of it are vital for proper project deployment. One of the commands is
INSTALL and the other is EXPORT.
I have read the following page many times:
http://www.cmake.org/Wiki/CMake:Install_Commands. The article
On 2013-04-03 16:16, Saad Khattak wrote:
I am having a hard time understanding some commands in CMake which by the
looks of it are vital for proper project deployment. One of the commands is
INSTALL and the other is EXPORT.
There are two forms of EXPORT, and I am not certain which one you are
Hi,
I am trying my best to understand CMake's install and export commands so
that separate projects are able to find libraries easily.
I am having a tremendously hard time understand what CMake is doing. After
'add_library()' where the library is called 'myLib' I called the following:
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 e33d1fa4233ea4c7df6270ab622a892cde2d14f8 (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 00ef90ec5eaa0c005a167eba64d6956293747ac6 (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 d4d5d2f1b68ca1657af85f74c0084651e72fd446 (commit)
via
25 matches
Mail list logo