geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aba...@apache.org
Subject geode git commit: GEODE-2311: Add cmake support for building the C# security dll used by the C# security quickstarts.
Date Fri, 20 Jan 2017 17:36:21 GMT
Repository: geode
Updated Branches:
  refs/heads/next-gen-native-client-software-grant d777525b9 -> 512b34594


GEODE-2311: Add cmake support for building the C# security dll used by the C# security quickstarts.

This closes #345


Project: http://git-wip-us.apache.org/repos/asf/geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/geode/commit/512b3459
Tree: http://git-wip-us.apache.org/repos/asf/geode/tree/512b3459
Diff: http://git-wip-us.apache.org/repos/asf/geode/diff/512b3459

Branch: refs/heads/next-gen-native-client-software-grant
Commit: 512b34594c95ab30bd5e6b01fb836fab2729744f
Parents: d777525
Author: Mike Martell <mmartell@pivotal.io>
Authored: Tue Jan 17 21:08:48 2017 -0800
Committer: Anthony Baker <abaker@apache.org>
Committed: Fri Jan 20 09:35:48 2017 -0800

----------------------------------------------------------------------
 src/templates/security/csharp/CMakeLists.txt    |  4 ++
 src/templates/security/csharp/buildit.bat       | 11 ----
 .../security/csharp/securityImpl.csproj.in      | 67 ++++++++++++++++++++
 3 files changed, 71 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode/blob/512b3459/src/templates/security/csharp/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/src/templates/security/csharp/CMakeLists.txt b/src/templates/security/csharp/CMakeLists.txt
new file mode 100644
index 0000000..20d67bf
--- /dev/null
+++ b/src/templates/security/csharp/CMakeLists.txt
@@ -0,0 +1,4 @@
+cmake_minimum_required(VERSION 3.4)
+#project(templates.csharp.security)
+
+configure_file(securityImpl.csproj.in ${CMAKE_CURRENT_BINARY_DIR}/securityImpl.csproj)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/geode/blob/512b3459/src/templates/security/csharp/buildit.bat
----------------------------------------------------------------------
diff --git a/src/templates/security/csharp/buildit.bat b/src/templates/security/csharp/buildit.bat
deleted file mode 100644
index 9e70f91..0000000
--- a/src/templates/security/csharp/buildit.bat
+++ /dev/null
@@ -1,11 +0,0 @@
-@echo off
-
-rem Execute vcvars32.bat before executing this batch file,
-rem or start the Visual Studio command prompt.
-rem GFCPP must be set to the product installation folder
-
-csc /out:GemStone.GemFire.Templates.Cache.Security.dll /target:library /optimize /reference:%GFCPP%\bin\GemStone.GemFire.Cache.dll
*.cs
-
-copy GemStone.GemFire.Templates.Cache.Security.dll %GFCPP%\SampleCode\quickstart\csharp
-
- 

http://git-wip-us.apache.org/repos/asf/geode/blob/512b3459/src/templates/security/csharp/securityImpl.csproj.in
----------------------------------------------------------------------
diff --git a/src/templates/security/csharp/securityImpl.csproj.in b/src/templates/security/csharp/securityImpl.csproj.in
new file mode 100644
index 0000000..afc9fb5
--- /dev/null
+++ b/src/templates/security/csharp/securityImpl.csproj.in
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props"
Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')"
/>
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">X64</Platform>
+    <ProjectGuid>{D9F8A614-D117-491F-9E3A-B5F432E435AE}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>GemStone.GemFire.Templates.Cache.Security</RootNamespace>
+    <AssemblyName>GemStone.GemFire.Templates.Cache.Security</AssemblyName>
+    <TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
+    <FileAlignment>512</FileAlignment>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
+    <DebugSymbols>true</DebugSymbols>
+    <OutputPath>bin\x64\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <DebugType>full</DebugType>
+    <PlatformTarget>x64</PlatformTarget>
+    <ErrorReport>prompt</ErrorReport>
+    <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
+    <OutputPath>bin\x64\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <Optimize>true</Optimize>
+    <DebugType>pdbonly</DebugType>
+    <PlatformTarget>x64</PlatformTarget>
+    <ErrorReport>prompt</ErrorReport>
+    <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="Gemstone.Gemfire.Cache">
+      <HintPath>${GFCPP}\bin\Gemstone.Gemfire.Cache.dll</HintPath>
+    </Reference>
+    <Reference Include="System" />
+    <Reference Include="System.Core" />
+    <Reference Include="System.Xml.Linq" />
+    <Reference Include="System.Data.DataSetExtensions" />
+    <Reference Include="Microsoft.CSharp" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="${CMAKE_SOURCE_DIR}\AssemblyInfo.cs">
+      <Link>AssemblyInfo.cs</Link>
+    </Compile>
+    <Compile Include="${CMAKE_SOURCE_DIR}\UserPasswordAuthInit.cs">
+      <Link>UserPasswordAuthInit.cs</Link>
+    </Compile>    
+  </ItemGroup>
+  <ItemGroup>
+    <Folder Include="Properties\" />
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+  <PropertyGroup>
+    <PostBuildEvent>copy $(TargetPath) ${GFCPP}\bin\$(TargetFileName)</PostBuildEvent>
+  </PropertyGroup>  
+  <!-- To modify your build process, add your task inside one of the targets below and
uncomment it. 
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->
+</Project>
\ No newline at end of file


Mime
View raw message