On 6. Sep, 2010, at 20:58 , David Cole wrote:
> On Mon, Sep 6, 2010 at 2:34 PM, Michael Wild wrote:
>
>> Hi all
>>
>> add_test(NAME COMMAND ) has these cool generator
>> expressions, where one can use e.g $ to obtain the file
>> name of the target. I wondered whether there was a reason as to
On 7. Sep, 2010, at 6:45 , Amir Pakdel wrote:
> Hi developers,
>
> I am trying to add a MIME type for "Basket Note Pads" files so that
> Desktop Environments (KDE and GNOME) can recognise them. For that
> purpose, I created a basket.xml and included the MIME type in the
> basket.desktop file; th
Hi developers,
I am trying to add a MIME type for "Basket Note Pads" files so that
Desktop Environments (KDE and GNOME) can recognise them. For that
purpose, I created a basket.xml and included the MIME type in the
basket.desktop file; then, I have added the MIME
type and associated this MIME type
On Mon, Sep 6, 2010 at 9:21 AM, Alexander Neundorf
wrote:
> On Monday 06 September 2010, David Cole wrote:
> ...
> > This is the "right approach" for now. There is currently no way to
> iterate
> > over targets in the CMakeLists files...
>
> Might make sense as a read-only directory property ?
>
On Monday 06 September 2010, Stefan Köhnen wrote:
> Ah, okay.
>
> Thanks for your fast reply.
>
> Is there a way to change the value in the cache?
set(... FORCE)
Alex
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://ww
Hello,
With excellent help from Jens Mueller and Dean Calver, CMake for D2
now passes our small suite of unit tests on both Windows and Linux.
Our tests include mixed C-D applications and libraries. We tested
with CMake 2.8.2 and DMD 2.048. We'd appreciate if a few hardy souls
were willing to ta
On Mon, Sep 6, 2010 at 2:34 PM, Michael Wild wrote:
> Hi all
>
> add_test(NAME COMMAND ) has these cool generator
> expressions, where one can use e.g $ to obtain the file
> name of the target. I wondered whether there was a reason as to why this
> feature isn't available in custom commands, esp
Hi all
add_test(NAME COMMAND ) has these cool generator expressions,
where one can use e.g $ to obtain the file name of the
target. I wondered whether there was a reason as to why this feature isn't
available in custom commands, especially in the TARGET form, where it would be
really useful i
Hi all
Is it intentional that on APPLE the Unix Makefiles generator does generate
library targets with a soname and appropriate symlinks, while the Xcode
generator doesn't?
Michael
--
There is always a well-known solution to every human problem -- neat,
plausible, and wrong.
H. L. Mencken
P
Ah, okay.
Thanks for your fast reply.
Is there a way to change the value in the cache?
Stefan
2010/9/6 Alexander Neundorf :
> On Monday 06 September 2010, Stefan Köhnen wrote:
>> Hello,
>>
>> I am trying to set a variable that appears in CMakeCache. I made this
>> small example to show what I a
On 09/06/2010 06:33 PM, Stefan Köhnen wrote:
> Hello,
>
> I am trying to set a variable that appears in CMakeCache. I made this
> small example to show what I am trying to do.
>
> CMakeLists.txt:
> PROJECT(CMakeTest)
>
> SET(VAR_FOR_TEST "firstValue" CACHE STRING "Just for testing")
>
> set(VAR
Hello,
I am trying to set a variable that appears in CMakeCache. I made this
small example to show what I am trying to do.
CMakeLists.txt:
PROJECT(CMakeTest)
SET(VAR_FOR_TEST "firstValue" CACHE STRING "Just for testing")
set(VAR_FOR_TEST "secondValue")
MESSAGE (${VAR_FOR_TEST})
When I run cm
On Monday 06 September 2010, David Cole wrote:
...
> This is the "right approach" for now. There is currently no way to iterate
> over targets in the CMakeLists files...
Might make sense as a read-only directory property ?
Alex
___
Powered by www.kitwar
Ah, I'm starting to get the idea now - the use of the _cmd-name effect
didn't click right away. That just might do the trick - nifty!
Thanks everyone for your help!
CY
>> Well, if Michael's correct about the original form being available with an
>> _ prefix, then at least you wouldn't have to mo
Escape the dollar sign, like so:
install(CODE "
execute_process(COMMAND my_script
RESULT_VARIABLE ret_val)
MESSAGE(\"install return value is \${ret_val}\")
")
As you had it, ${ret_val} is being evaluated at cmake configure time, and
there is just an empty string in the generated fi
Hi,
I'm trying to get a return value of a script that I runs from execute_process()
command,
as part of an install() command, and I don't see that the return variable is
getting any value.
I'm doing something like:
install(CODE "
execute_process(COMMAND my_script
RESULT_VARIABLE
On Mon, Sep 6, 2010 at 3:21 AM, Chris Hillery wrote:
> On Sun, Sep 5, 2010 at 10:06 PM, Clifford Yapp wrote:
>
>> I was hoping I wouldn't need to do a custom wrapper for every target,
>> particularly since I'm building some sub-projects using foreign
>> CMakeLists.txt files and I'd really rather n
The "Generate" button should be enabled after the first configure.
It's not enabled because the prevailing theory of the day was that you
shouldn't allow generate unless there were *no* *new* cache entries after
the most recent configure... -- force users to pay attention to those new
red entries
On Mon, Sep 6, 2010 at 12:51 AM, Clifford Yapp wrote:
> Is there any way within a CMakeLists.txt file to get a list of all the
> currently defined targets? I'm interested in this for two primary
> reasons, and if anyone can point me to other solutions for these that
> would be great, but I'm sort
On 6. Sep, 2010, at 9:21 , Chris Hillery wrote:
> On Sun, Sep 5, 2010 at 10:06 PM, Clifford Yapp wrote:
>
>> I was hoping I wouldn't need to do a custom wrapper for every target,
>> particularly since I'm building some sub-projects using foreign
>> CMakeLists.txt files and I'd really rather not
On Sun, Sep 5, 2010 at 10:06 PM, Clifford Yapp wrote:
> I was hoping I wouldn't need to do a custom wrapper for every target,
> particularly since I'm building some sub-projects using foreign
> CMakeLists.txt files and I'd really rather not change them from their
> default state - that's an extra
21 matches
Mail list logo