Displaying 4 results from an estimated 4 matches for "superbuild".
2019 May 09
0
CMake improvement suggestion
Hello all,
One of the common patterns in CMake 3.x is the "superbuild" pattern, where
the source trees of a dependencies are nested under a master project. In
order for the projects to be modular (be agnostic to whether or not the
dependencies are nested or not), the in-tree build process needs to
generate the same targets as finding the dependencies out of tree...
2014 Feb 03
3
[LLVMdev] Some CMake issues (Are you being served?)
On 2 Feb 2014, at 17:42, NAKAMURA Takumi <geek4civic at gmail.com> wrote:
>> 6) If you create a proper config file, then you can populate it with
>> IMPORTED targets and use it in clang. IMPORTED targets record dependencies
>> and usage requirements (when you start requiring CMake 2.8.9+ at least)
>> properly.
>>
>>
2014 Feb 21
2
[LLVMdev] compiler-rt CMake build
...n if I modify *sources* under projects/compiler-rt
> > it doesn't re-build the compiler-rt libraries.
>
> ExternalProject was originally designed for two purposes:
>
> * Build third-party dependences on which local development will
> not be done
>
> * Manage a "superbuild" project that has no binaries of its own
> but has a bunch of ExternalProject_Add calls to drive set up
> of a bunch of build trees. Local development then occurs in
> each tree manually.
>
> Using ExternalProject for a recursive-make-like structure was
> only later pr...
2014 Feb 21
4
[LLVMdev] compiler-rt CMake build
Hi Brad,
I have a few questions regarding ExternalProject_Add. For me it doesn't
really work as expected.
I add the following code to the tools/clang/runtime/CMakeLists.txt to
configure compiler-rt as external project:
ExternalProject_Add(compiler-rt
#DEPENDS clang clang++ llvm-config
PREFIX ${CMAKE_BINARY_DIR}/projects/compiler-rt
SOURCE_DIR ${COMPILER_RT_SRC_ROOT}