If I edit the file to use clang as the compiler instead of gcc, will the
version number be necessary or can I skip that? The libraries are for 3.2
and 3.3.
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers
On Windows 7 (and 8), I use cmake-gui and this simple CMakeLists.txt
file:
cmake_minimum_required(VERSION 2.8)
project(MYTEST)
message("CMAKE_CXX_COMPILER: ${CMAKE_CXX_COMPILER}")
I choose as a generator Visual Studio 11 Win 64 (I see the same results
with VS 10)
With cmake 2.8.9 and older, CM
tOn 2013-10-03 11:24-0700 Jimi Damon wrote:
Hi,
I have a number of directories that are named according to an acquisition
board in our full product line. Under each directory there are sample
programs labeled "sample1.c", "sample2.c" ...etc. While this isn't a very
useful naming conventio
So ,
I just discovered the solution:
macro ( build_sample_cpp_file project cpp_file )
GET_FILENAME_COMPONENT( tmp_cpp_file ${cpp_file} NAME )
STRING(REGEX REPLACE "\\.cpp$" "" binary_name ${tmp_cpp_file})
ADD_EXECUTABLE( "${project}_${binary_name}" ${cpp_file} )
SET_TARGET_PROPERTIES( "$
Hi,
I have a number of directories that are named according to an
acquisition board in our full product line. Under each directory there
are sample programs labeled "sample1.c", "sample2.c" ...etc. While
this isn't a very useful naming convention, I ran into the problem of
when I migrated
CMake string literals can contain newlines, so the version below is
more succinct and easier to read.
In this case everything works perfectly. If you have to include strings
that look like variables to expand (e.g. ${THIS} ) you have to be careful
about using escapes.
In that particular case just
Hi, I am trying to make cmake reconfigure whenever a certain file is touched.
This is because the file ends up listing out a set of directories that need to
be built during the build. Currently I do a trick where I use configure file
to write out a file that will never be used but causes the i
Can you provide the link that's giving the error? All of the links at [1]
are working for me. Alternatively you could clone the nightly through git
[2].
[1] http://cmake.org/cmake/resources/software.html
[2] http://www.cmake.org/Wiki/CMake/Git
On Thu, Oct 3, 2013 at 7:36 AM, Gerald Brown wrot
When I click on either of the 2 Unix/Linux files to download them it
just takes me to another page with only the word "ERROR" on it.
How can I download either of these files???
Tanks.
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org
When I tried to download either of the 2 Unix/Linux files it took me to
another page that only had the word "ERROR" on it.
How can I download the latest version of CMAKE?
Thanks.
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki
Hi,
I can check if a target has been created:
add_custom_target(foo ...)
if (TARGET foo)
...
But I can't test for if an output rule has been created for foo.x:
add_custom_command(OUTPUT foo.x)
if (... foo.x)
Or is it possible ?
x.
--
Powered by
11 matches
Mail list logo