Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Ghiondea <ghiondea.alexandru@microsoft.com>2015-10-29 02:44:24 +0300
committerAlex Ghiondea <ghiondea.alexandru@microsoft.com>2015-11-01 22:59:41 +0300
commit0759d98122c95050c5bf8c7d682d9750525751b8 (patch)
tree8260d6e82b8780bb1a2ae94c1616fb94aae338ba /src/Native/CMakeLists.txt
parentc9325e9b9fee0232b4768d4eb9cd1f458e4cfdac (diff)
Implement GetEnvironmentVariable and ExpandEnvironmentVariables on Linux.
Create the Native PAL layer that uses the native getenv method to retrieve the environemnt variable. Create the right Interop function in managed code to allow us to call the native PAL Implement the managed side of the GetEnvironmentVariable and ExpandEnvironmentVariable to leverage the PAL
Diffstat (limited to 'src/Native/CMakeLists.txt')
-rw-r--r--src/Native/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Native/CMakeLists.txt b/src/Native/CMakeLists.txt
index e2fcacc2f..d04a381a4 100644
--- a/src/Native/CMakeLists.txt
+++ b/src/Native/CMakeLists.txt
@@ -129,3 +129,8 @@ if(WIN32)
endif()
add_subdirectory(Runtime)
add_subdirectory(Bootstrap)
+
+# We don't need the PAL on Windows.
+if(CMAKE_SYSTEM_NAME STREQUAL Linux)
+ add_subdirectory(System.Private.CoreLib.Native)
+endif()