diff options
author | dotnet-bot <dotnet-bot@microsoft.com> | 2015-01-30 14:14:42 -0800 |
---|---|---|
committer | dotnet-bot <dotnet-bot@microsoft.com> | 2015-01-30 14:14:42 -0800 |
commit | ef1e2ab328087c61a6878c1e84f4fc5d710aebce (patch) | |
tree | dee1bbb89e9d722e16b0d1485e3cdd1b6c8e2cfa /src/utilcode/staticnohost | |
download | coreclr-ef1e2ab328087c61a6878c1e84f4fc5d710aebce.tar.gz coreclr-ef1e2ab328087c61a6878c1e84f4fc5d710aebce.tar.bz2 coreclr-ef1e2ab328087c61a6878c1e84f4fc5d710aebce.zip |
Initial commit to populate CoreCLR repo
[tfs-changeset: 1407945]
Diffstat (limited to 'src/utilcode/staticnohost')
-rw-r--r-- | src/utilcode/staticnohost/.gitmirror | 1 | ||||
-rw-r--r-- | src/utilcode/staticnohost/CMakeLists.txt | 6 | ||||
-rw-r--r-- | src/utilcode/staticnohost/staticnohost.nativeproj | 15 | ||||
-rw-r--r-- | src/utilcode/staticnohost/staticnohost.targets | 15 |
4 files changed, 37 insertions, 0 deletions
diff --git a/src/utilcode/staticnohost/.gitmirror b/src/utilcode/staticnohost/.gitmirror new file mode 100644 index 0000000000..f507630f94 --- /dev/null +++ b/src/utilcode/staticnohost/.gitmirror @@ -0,0 +1 @@ +Only contents of this folder, excluding subfolders, will be mirrored by the Git-TFS Mirror.
\ No newline at end of file diff --git a/src/utilcode/staticnohost/CMakeLists.txt b/src/utilcode/staticnohost/CMakeLists.txt new file mode 100644 index 0000000000..7dc8b9a3af --- /dev/null +++ b/src/utilcode/staticnohost/CMakeLists.txt @@ -0,0 +1,6 @@ +add_definitions(-DSELF_NO_HOST) +add_definitions(-D_CRTIMP=) # use static version of crt + +set(UTILCODE_SOURCES ${UTILCODE_SOURCES} ../hostimpl.cpp) + +add_library(utilcodestaticnohost STATIC ${UTILCODE_SOURCES}) diff --git a/src/utilcode/staticnohost/staticnohost.nativeproj b/src/utilcode/staticnohost/staticnohost.nativeproj new file mode 100644 index 0000000000..4ef47670f3 --- /dev/null +++ b/src/utilcode/staticnohost/staticnohost.nativeproj @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="dogfood"> + <PropertyGroup Label="Globals"> + <SccProjectName>SAK</SccProjectName> + <SccAuxPath>SAK</SccAuxPath> + <SccLocalPath>SAK</SccLocalPath> + <SccProvider>SAK</SccProvider> + </PropertyGroup> + <PropertyGroup> + <BuildCoreBinaries>true</BuildCoreBinaries> + <BuildSysBinaries>true</BuildSysBinaries> + <OutputName>utilcodestaticnohost</OutputName> + </PropertyGroup> + <Import Project="staticnohost.targets" /> +</Project> diff --git a/src/utilcode/staticnohost/staticnohost.targets b/src/utilcode/staticnohost/staticnohost.targets new file mode 100644 index 0000000000..163090adeb --- /dev/null +++ b/src/utilcode/staticnohost/staticnohost.targets @@ -0,0 +1,15 @@ +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="dogfood"> + + <Import Project="$(_NTDRIVE)$(_NTROOT)\ndp\clr\src\Utilcode\utilcode.settings.targets" /> + + <PropertyGroup> + <ClAdditionalOptions>$(ClAdditionalOptions) -DSELF_NO_HOST -D_CRTIMP=</ClAdditionalOptions> + </PropertyGroup> + + <ItemGroup> + <CppCompile Include="..\hostimpl.cpp" /> + </ItemGroup> + + <Import Project="$(_NTDRIVE)$(_NTROOT)\ndp\clr\clr.targets" /> + +</Project> |