[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cmake
Subject:    Re: [CMake] Custom compile command?
From:       Bill Hoffman <bill.hoffman () kitware ! com>
Date:       2009-06-06 4:00:17
Message-ID: 4A29E9D1.9000002 () kitware ! com
[Download RAW message or body]

Bob Tanner wrote:
> On 2009-06-04 15:57:22 -0500, Bill Hoffman <bill.hoffman@kitware.com> said:
> 
>> set(COMMANDS_TYPE DOG)
>> configure_file(${CMAKE_CURRENT_SOURCE_DIR}/commands.c.in
>>                 ${CMAKE_CURRENT_BINARY_DIR}/commands_mars.c)
>> set(COMMANDS_TYPE PUCK)
>> configure_file(${CMAKE_CURRENT_SOURCE_DIR}/commands.c.in
>>                 ${CMAKE_CURRENT_BINARY_DIR}/commands_puck.c)
> 
> Is this a 2.6 feature?
> 
> Works fine on osx+cmake version 2.6-patch 4 BUT fails on 
> ubuntu+hardy+cmake version 2.4-patch 7
> 
No, should work for both.   How does it fail on 2.4?


-Bill
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic