[Openmp-commits] [PATCH] D24959: [cmake] Fix for a bug https://llvm.org/bugs/show_bug.cgi?id=30489 "Cannot build with -DLIBOMP_FORTRAN_MODULES=True"

Paul Osmialowski via Openmp-commits openmp-commits at lists.llvm.org
Tue Sep 27 15:59:50 PDT 2016

pawosm01 added a comment.

In https://reviews.llvm.org/D24959#554060, @beanz wrote:

> Creating the directory during configuration time is not good. If someone deletes it from their build directory it will not be re-created until cmake is re-run. A better solution would be to create a separate add_custom_command that creates the directory, and a target that wraps that command. Then have the targets which have these POST_BUILD actions **depend** on the target that creates the directory.

No can do: POST_BUILD actions can NOT have dependencies, see:




More information about the Openmp-commits mailing list