On Fri, Aug 6, 2010 at 20:18, Ryan Pavlik wrote:
> On 8/6/10 1:12 PM, Magnus Therning wrote:
>>
>> I was trying to put something like this into a CMake file:
>>
>> add_custom_command( ...
>> COMMAND ...
>> COMMAND ([[ -f foo ]] || ln -sf foo bar); true
>> )
>>
>> But CMake won't have
On 8/6/10 1:12 PM, Magnus Therning wrote:
I was trying to put something like this into a CMake file:
add_custom_command( ...
COMMAND ...
COMMAND ([[ -f foo ]] || ln -sf foo bar); true
)
But CMake won't have it. Skipping the sub-shell is all right with CMake:
add_custom_command
I was trying to put something like this into a CMake file:
add_custom_command( ...
COMMAND ...
COMMAND ([[ -f foo ]] || ln -sf foo bar); true
)
But CMake won't have it. Skipping the sub-shell is all right with CMake:
add_custom_command( ...
COMMAND ...
COMMAND [[ -f foo ]] |