Hello Alexander,
Thanks a lot for your suggestion, it works well for me !
Alexander Neundorf wrote:
> On Monday 29 September 2008, Vladimir wrote:
>> Hello,
>>
>> I want to link an executable with custom linker script, but my script
>> have to be preprocessed with cpp. I've tried using add_custo
On Monday 29 September 2008, Vladimir wrote:
> Hello,
>
> I want to link an executable with custom linker script, but my script have
> to be preprocessed with cpp. I've tried using add_custom_command and
> add_dependencies:
>
> set(MOD_LINKER_SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/kernel_mod.ld)
> add_
Hello,
I want to link an executable with custom linker script, but my script have
to be preprocessed with cpp. I've tried using add_custom_command and
add_dependencies:
set(MOD_LINKER_SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/kernel_mod.ld)
add_custom_command(OUTPUT ${MOD_LINKER_SCRIPT}
cpp -nostdin