On 06/21/2010 05:41 PM, Magnus Therning wrote:
> On Mon, Jun 21, 2010 at 16:10, Michael Wild wrote:
>>
>>> I'm looking for some suggestions on how to tackle a problem with staged
>>> builds.
>>>
>>> In trying to convert a project which uses omake to build OCaml files I've
>>> stumbled on the issue
On Tue, Jun 22, 2010 at 07:48, Michael Wild wrote:
[...]
> Ahh, now I understand. You need foo already at cmake-time, not at make-time.
> Ideally you'd want to run ocamldep at make-time to determine the file-level
> dependencies, like cmake does for C/C++/Fortran/Java. However, I don't think
>
On 22. Jun, 2010, at 7:27 , Magnus Therning wrote:
> On Mon, Jun 21, 2010 at 17:46, Aeschbacher, Fabrice
> wrote:
>> I would try following in foo/CmakeLists.txt:
>>
>> add_custom_command(TARGET foo
>> POST_BUILD
>> COMMAND touch bar/CMakeLists.txt
>> )
>>
>> This will force CMake
On Mon, Jun 21, 2010 at 17:46, Aeschbacher, Fabrice
wrote:
> I would try following in foo/CmakeLists.txt:
>
> add_custom_command(TARGET foo
> POST_BUILD
> COMMAND touch bar/CMakeLists.txt
> )
>
> This will force CMake to re-build the makefiles for 'bar' (because its
> CMakeLists.txt
)
Hope it helps,
Fabrice Aeschbacher
> -Ursprüngliche Nachricht-
> Von: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org]
> Im Auftrag von Magnus Therning
> Gesendet: Montag, 21. Juni 2010 17:41
> An: Michael Wild
> Cc: Cmake Mailing List
> Betreff: Re: [CMake]
On Mon, Jun 21, 2010 at 16:10, Michael Wild wrote:
>
>> I'm looking for some suggestions on how to tackle a problem with staged
>> builds.
>>
>> In trying to convert a project which uses omake to build OCaml files I've
>> stumbled on the issue that building one sub-part (bar) of the project needs
> I'm looking for some suggestions on how to tackle a problem with staged
> builds.
>
> In trying to convert a project which uses omake to build OCaml files I've
> stumbled on the issue that building one sub-part (bar) of the project needs
> the result of another sub-part (foo). The twist is tha
I'm looking for some suggestions on how to tackle a problem with staged
builds.
In trying to convert a project which uses omake to build OCaml files I've
stumbled on the issue that building one sub-part (bar) of the project needs
the result of another sub-part (foo). The twist is that foo is requ