Bogdan Cristea wrote:
> SET(CMAKE_FIND_ROOT_PATH
> /home/bogdan/dev/src/tizenbuildtools/emulator/GBS-ROOT/local/BUILD-
ROOTS/scratch.i586.0)
This is not passed as --sysroot. However, cmake master supports a
CMAKE_SYSROOT variable.
http://www.cmake.org/cmake/help/git-master/variable/CMAKE_SYSRO
On Thursday, December 05, 2013 11:33:58 PM Simon Sasburg wrote:
> I've run into a problem after updating my cmake in using the FindQt4 module.
>
> It used to be the case that when QT_QMAKE_EXECUTABLE was changed by the
> user or by a SET(... FORCE) command, all the derived cache entries would be
>
Hi
I am trying to write a toolchain cmake script in order to crosscompile a
cpp program for Tizen emulator. Here is the cmake script I am using:
SET(CMAKE_SYSTEM_NAME Linux)
SET(CMAKE_SYSTEM_VERSION 1)
SET(CMAKE_C_COMPILER
/home/bogdan/tizen-sdk/tools/i386-linux-gnueabi-gcc-4.5/bin/i386-linux
I've run into a problem after updating my cmake in using the FindQt4 module.
It used to be the case that when QT_QMAKE_EXECUTABLE was changed by the
user or by a SET(... FORCE) command, all the derived cache entries would be
refreshed, however this does not work anymore.
The cause seems to be git
On 2013-12-05 15:46, Fraser Hutchison wrote:
If you can specify CMake version 2.8.11 as a minimum, you could use
the string(TIMESTAMP ...) command instead:
string(TIMESTAMP _output "%d/%m/%Y")
Bear in mind that these only execute when CMake runs (i.e. at configure time)
rather than at build tim
That would be a great addition.
Jc
On Thu, Dec 5, 2013 at 4:19 PM, Eric Noulard wrote:
> 2013/12/5 Macumber, Daniel :
> > I’m sure this has come up before but I’m curious if CMake-GUI would ever
> > consider adding a “Build” button? This seems like a logical step after
> > “Configure” and “Gen
2013/12/5 Macumber, Daniel :
> I’m sure this has come up before but I’m curious if CMake-GUI would ever
> consider adding a “Build” button? This seems like a logical step after
> “Configure” and “Generate”, if it was available on the command line it could
> also help automate CMake based builds on
Hi Jon,
You'd have to invoke the command prompt to execute this I think. On
Windows this should be the value of the COMSPEC environment
variable, so your command would be something like:
execute_process(COMMAND
$ENV{COMSPEC} /c date /t
OUTPUT_VA
I'm sure this has come up before but I'm curious if CMake-GUI would ever
consider adding a "Build" button? This seems like a logical step after
"Configure" and "Generate", if it was available on the command line it could
also help automate CMake based builds on different systems. Right now scr
On Thu, Dec 5, 2013 at 1:44 PM, Pau Garcia i Quiles
wrote:
> Hello,
>
> If you have more than 200 CMakeLists.txt, IMHO you should create two macros
> to wrap add_executable/add_library: add_executable_maybe_cxx /
> add_library_maybe_cxx
Good idea, but the changes needed I think are about the same
Hello,
If you have more than 200 CMakeLists.txt, IMHO you should create two macros
to wrap add_executable/add_library: add_executable_maybe_cxx /
add_library_maybe_cxx
On Thu, Dec 5, 2013 at 7:54 PM, Tom Browder wrote:
> On Thu, Dec 5, 2013 at 12:38 PM, J Decker wrote:
> > then maybe just str
Hi there,
I was trying to get the compilation time through a CMake-executed command
in order to know the compilation time of a given project.
In my custom.cmake file I was using
execute_process(COMMAND
date -t
OUTPUT_VARIABLE _output
)
It turns out that the _output variable is empty when
On Thu, Dec 5, 2013 at 12:38 PM, J Decker wrote:
> then maybe just stripping the names, and/or adding the
> CMAKE_CURRENT_SOURCE_DIR for each one as appropriate
No, I still need choice, so, e.g., I'm using these lines in each
CMakeLists.txt (modified as necessary, of course; and it works so
far):
Should have been posted here
-- Forwarded message --
From: Tom Browder
Date: Thu, Dec 5, 2013 at 12:31 PM
Subject: Re: [CMake] Compile C files with C++
To: J Decker
On Thu, Dec 5, 2013 at 12:21 PM, J Decker wrote:
> I mean .cpp
>
> and I mean in the first message, is that sam
Sorry and another soultuion when globbing, copy all the c files to
.cxx files and use those instead
then you can have different flags for the different modes also
On Thu, Dec 5, 2013 at 10:19 AM, J Decker wrote:
> that works... it's path specific though, are you also using
> ${all_c_files} as
that works... it's path specific though, are you also using
${all_c_files} as the source names?
if your globbing ends up including the path the base source name won't
match or vice versa...
On Thu, Dec 5, 2013 at 6:16 AM, Tom Browder wrote:
> I found this 2009 thread:
>
> http://marc.info/?l=cm
On Thu, Dec 5, 2013 at 8:16 AM, Tom Browder wrote:
> I found this 2009 thread:
>
> http://marc.info/?l=cmake&m=123851619629929&w=2
The same or equivalent issue has been filed under bugs 2360
(2009-03-05), 8851 (2009-04-06), and 12514 (2012-08011). I see no
action since issue 12514 was last up
Hello,
Try with add_executable / add_library before setting the source files
properties.
On Thu, Dec 5, 2013 at 3:16 PM, Tom Browder wrote:
> I found this 2009 thread:
>
> http://marc.info/?l=cmake&m=123851619629929&w=2
>
> discussing this issue and I tried all suggestions but still cannot g
I found this 2009 thread:
http://marc.info/?l=cmake&m=123851619629929&w=2
discussing this issue and I tried all suggestions but still cannot get
C files compiled with C++.
The last suggestion was to glob all C source files and set a LANGUAGE
CXX property on each. I put this at the very top of
2013/12/5 David Erickson :
> Hi Eric-
> Thanks for the response! See inline-
>
>
> On 12/4/2013 11:17 PM, Eric Noulard wrote:
>>
>> 2013/12/5 David Erickson :
>>>
>>> Hi All-
>>> We would like to use cmake for our build infrastructure, and Eclipse for
>>> code editing/debugging. I found and read
>
I used to use Eclipse for coding with CMake and the what worked the best for me
was the following (This assumes you are on Unix/Linux/OSX).
Start in "Project A". Create a directory "Build". Have CMake generate
"Makefiles" using "Build" as the build directory.
Start up Eclipse. Create a new "Exi
Hi all,
I was trying to figure out whether the source file property
COMPILE_DEFINITIONS supports generator expressions and I found no clear way
how to do so (so I assume it does not, because genexes aren't mentioned in
its docs).
This got me thinking: is there a list somewhere of all contexts whe
Hi Eric-
Thanks for the response! See inline-
On 12/4/2013 11:17 PM, Eric Noulard wrote:
2013/12/5 David Erickson :
Hi All-
We would like to use cmake for our build infrastructure, and Eclipse for
code editing/debugging. I found and read
(http://www.vtk.org/Wiki/Eclipse_CDT4_Generator) which w
23 matches
Mail list logo