From 1a183684b1ecf63ece8a2fd80173f083c0deea52 Mon Sep 17 00:00:00 2001 From: Sean Gillespie Date: Wed, 17 May 2017 15:07:34 -0700 Subject: [Local GC] Scaffolding for loading a standalone GC (#11242) * Configure the build system to build a CoreCLR capable of loading a standalone GC * Proto-implementation of dynamic GC loading * Build the GC with the VM's CMakeLists when doing a non-standalone build of the GC * [Local GC] Introduce a new feature define, FEATURE_STANDALONE_GC_ONLY, to be used by the CI to explicitly test local GC dynamic loading code paths * Fix the FEATURE_STANDALONE_GC_ONLY build for unix linkers * Rebase against master * Code review feedback: use the existing Unix exports file --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index f55b54c498..f6e0987ebe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -585,6 +585,10 @@ if(FEATURE_STANDALONE_GC) endif(CLR_CMAKE_PLATFORM_UNIX) endif(FEATURE_STANDALONE_GC) +if(FEATURE_STANDALONE_GC_ONLY) + add_definitions(-DFEATURE_STANDALONE_GC_ONLY) +endif(FEATURE_STANDALONE_GC_ONLY) + if (CLR_CMAKE_PLATFORM_UNIX) include_directories("src/pal/inc") include_directories("src/pal/inc/rt") -- cgit v1.2.3