Hi Kevyn-Alexandre,
Indeed, you can get or set environment variable from CMake.
For example:
set(ENV{PATH} "/path/to/foo:$ENV{PATH}")
Hth
Jc
On Fri, Jul 15, 2011 at 6:02 PM, Kevyn-Alexandre Paré <
kap...@rogue-research.com> wrote:
> So I could simply get SVN_ROOT_PATH OE_PATH from
>
> $ENV{S
So I could simply get SVN_ROOT_PATH OE_PATH from
$ENV{SVN_ROOT_PATH}
$ENV{OE_PATH}
On 2011-07-15, at 5:27 PM, Kevyn-Alexandre Paré wrote:
> Hi,
>
> How do I make cmake to use environment variable?
>
> My context is that I want to have environment variable that represent my svn
> ROOT PATH
Hi,
How do I make cmake to use environment variable?
My context is that I want to have environment variable that represent my svn
ROOT PATH (developer ENV.) and my open embedded path (in case of cross
compiling). What's the best way to have something reusable for each developer?
EX:
SOMEWHER
Am Donnerstag, 14. Juli 2011, 10:51:27 schrieb Mathias Tausig:
> Hy!
>
> My CMakeLists.txt in the top directory looks like this:
>
> ADD_SUBDIRECTORY(dir1)
> ADD_SUBDIRECTORY(dir2)
> INSTALL (SCRIPT setpermissions.cmake)
>
> setpermissions.cmake changes some file-owner permissions of the stuff
>
On Fri, Jul 15, 2011 at 10:55 AM, Michael Hertling wrote:
> On 07/14/2011 02:34 PM, David Cole wrote:
>> The only way to guarantee that your install SCRIPT and CODE segments
>> run last is to put them in their own subdirectory, and add it last.
>>
>> i.e. :
>> dir3/CMakeLists.txt:
>> INSTALL (SCRI
On 07/14/2011 02:34 PM, David Cole wrote:
> The only way to guarantee that your install SCRIPT and CODE segments
> run last is to put them in their own subdirectory, and add it last.
>
> i.e. :
> dir3/CMakeLists.txt:
> INSTALL (SCRIPT setpermissions.cmake)
>
> CMakeLists.txt:
> ADD_SUBDIRECTORY(d
Ah.
Well, I live to learn.
Thanks again.
Neil
-Original Message-
From: Eric Noulard [mailto:eric.noul...@gmail.com]
Sent: Friday, 15 July 2011 8:54 PM
To: Neil Higgins
Cc: cmake@cmake.org
Subject: Re: [CMake] libcrypto.so.6 library needed for cmake on Ubuntu 8.04
2011/7/15 Neil Higgins :
I couldn't see anything on the CMake site that looked like an installable
package, so ...
Following a search, I downloaded an RPM file and installed that with Alien.
Evidently that package was built from a different tree (or something - I'm
not an expert at this type of thing).
The problem is sol
2011/7/15 Neil Higgins :
> I couldn't see anything on the CMake site that looked like an installable
> package, so ...
Yes there is
http://www.cmake.org/cmake/resources/software.html
see "Binary distributions: "
e.g.
http://www.cmake.org/files/v2.8/cmake-2.8.5-Linux-i386.tar.gz
> Following a sea
Hi Amir,
Although It's better to hear answer from CMake authors I could try to give
you some clues.
If your project is completely managed by CMake, it's better to employ target
property. So, you should add one to property definition map (in
cmTarget.cxx), say "MS_USE_LIBRARY_DEPENDENCY_INPUTS".
Hi,
I'm using cmake 2.8.3 and have a problem using regular expressions:
STRING(REGEX REPLACE
"^(Input:[0-9]+:)([^/].*)$"
"_Start_\\1_Middle_\\2_End_"
TESTVARIABLE
"Input:1:filename1 \nInput:104:filename2 \n"
)
MESSAGE("${TESTVARIABLE}")
The expected output is:
_Star
11 matches
Mail list logo