[tasque] [MSBuild] Setup custom commands for build and execution
- From: Antonius Riha <antoniusri src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tasque] [MSBuild] Setup custom commands for build and execution
- Date: Wed, 29 Aug 2012 18:17:00 +0000 (UTC)
commit 3fd09bafa0725fa7fc0a01e3ff37a92f495bdbe2
Author: Antonius Riha <antoniusriha gmail com>
Date: Thu Aug 23 09:47:56 2012 +0200
[MSBuild] Setup custom commands for build and execution
This enables compiling and starting Tasque from within MD.
Also: Update some nunit references
RtmNet/RtmNet.csproj | 5 +++++
src/libtasque/libtasque.csproj | 5 +++++
tasque.csproj | 9 +++++++++
tests/tests.csproj | 10 ++++++++--
4 files changed, 27 insertions(+), 2 deletions(-)
---
diff --git a/RtmNet/RtmNet.csproj b/RtmNet/RtmNet.csproj
index 961b06d..2e3947b 100644
--- a/RtmNet/RtmNet.csproj
+++ b/RtmNet/RtmNet.csproj
@@ -20,6 +20,11 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <CustomCommands>
+ <CustomCommands>
+ <Command type="Build" command="echo """ />
+ </CustomCommands>
+ </CustomCommands>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
diff --git a/src/libtasque/libtasque.csproj b/src/libtasque/libtasque.csproj
index 7438136..3b64804 100644
--- a/src/libtasque/libtasque.csproj
+++ b/src/libtasque/libtasque.csproj
@@ -18,6 +18,11 @@
<DefineConstants>DEBUG</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <CustomCommands>
+ <CustomCommands>
+ <Command type="Build" command="echo """ />
+ </CustomCommands>
+ </CustomCommands>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>none</DebugType>
diff --git a/tasque.csproj b/tasque.csproj
index 3ebe719..cec7803 100644
--- a/tasque.csproj
+++ b/tasque.csproj
@@ -21,6 +21,15 @@
<DefineConstants>TRACE;DEBUG;WIN32</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <CustomCommands>
+ <CustomCommands>
+ <Command type="Execute" command="bin/lib/tasque/Tasque.exe" workingdir="${SolutionDir}" />
+ <Command type="Build" command="make" workingdir="${SolutionDir}" />
+ <Command type="AfterBuild" command="make install" workingdir="${SolutionDir}" />
+ <Command type="Clean" command="make uninstall" workingdir="${SolutionDir}" />
+ <Command type="AfterClean" command="make clean" workingdir="${SolutionDir}" />
+ </CustomCommands>
+ </CustomCommands>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
diff --git a/tests/tests.csproj b/tests/tests.csproj
index b91f75d..aa84f5f 100644
--- a/tests/tests.csproj
+++ b/tests/tests.csproj
@@ -18,6 +18,11 @@
<DefineConstants>DEBUG</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <CustomCommands>
+ <CustomCommands>
+ <Command type="Build" command="echo """ />
+ </CustomCommands>
+ </CustomCommands>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>none</DebugType>
@@ -28,8 +33,9 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
- <Reference Include="nunit.core, Version=2.4.8.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77" />
- <Reference Include="nunit.framework, Version=2.4.8.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77" />
+ <Reference Include="nunit.framework, Version=2.5.10.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77">
+ <Private>False</Private>
+ </Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="TaskParserFixture.cs" />
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]