Index: buildtool/AssemblyInfo.cpp |
— | — | @@ -1,42 +0,0 @@ |
2 | | -// DXGL
|
3 | | -// Copyright (C) 2012 William Feely
|
4 | | -
|
5 | | -// This library is free software; you can redistribute it and/or
|
6 | | -// modify it under the terms of the GNU Lesser General Public
|
7 | | -// License as published by the Free Software Foundation; either
|
8 | | -// version 2.1 of the License, or (at your option) any later version.
|
9 | | -
|
10 | | -// This library is distributed in the hope that it will be useful,
|
11 | | -// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12 | | -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
13 | | -// Lesser General Public License for more details.
|
14 | | -
|
15 | | -// You should have received a copy of the GNU Lesser General Public
|
16 | | -// License along with this library; if not, write to the Free Software
|
17 | | -// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
18 | | -
|
19 | | -#include "common.h"
|
20 | | -#include "../common/version.h"
|
21 | | -
|
22 | | -using namespace System;
|
23 | | -using namespace System::Reflection;
|
24 | | -using namespace System::Runtime::CompilerServices;
|
25 | | -using namespace System::Runtime::InteropServices;
|
26 | | -using namespace System::Security::Permissions;
|
27 | | -
|
28 | | -[assembly:AssemblyTitleAttribute("DXGL Build Tool")];
|
29 | | -[assembly:AssemblyDescriptionAttribute("")];
|
30 | | -[assembly:AssemblyConfigurationAttribute("")];
|
31 | | -[assembly:AssemblyCompanyAttribute("William Feely")];
|
32 | | -[assembly:AssemblyProductAttribute("DXGL")];
|
33 | | -[assembly:AssemblyCopyrightAttribute("Copyright (C) 2012 William Feely")];
|
34 | | -[assembly:AssemblyTrademarkAttribute("")];
|
35 | | -[assembly:AssemblyCultureAttribute("")];
|
36 | | -
|
37 | | -[assembly:AssemblyVersionAttribute(DXGLVERSTRING)];
|
38 | | -
|
39 | | -[assembly:ComVisible(false)];
|
40 | | -
|
41 | | -[assembly:CLSCompliantAttribute(true)];
|
42 | | -
|
43 | | -[assembly:SecurityPermission(SecurityAction::RequestMinimum, UnmanagedCode = true)];
|
Index: buildtool/buildtool.cpp |
— | — | @@ -16,11 +16,13 @@ |
17 | 17 | // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
18 | 18 |
|
19 | 19 | #include "common.h"
|
| 20 | +#include "../common/version.h"
|
20 | 21 |
|
21 | | -using namespace System;
|
| 22 | +using namespace std;
|
22 | 23 |
|
23 | | -int main(array<System::String ^> ^args)
|
| 24 | +int main(int arg, char *argv[])
|
24 | 25 | {
|
25 | | - Console::WriteLine(L"DXGL Build Tool");
|
| 26 | + cout << "DXGL Build Tool, version " << DXGLVERSTRING << endl;
|
| 27 | +
|
26 | 28 | return 0;
|
27 | 29 | }
|
Index: buildtool/buildtool.vcxproj |
— | — | @@ -20,13 +20,11 @@ |
21 | 21 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
22 | 22 | <ConfigurationType>Application</ConfigurationType>
|
23 | 23 | <UseDebugLibraries>true</UseDebugLibraries>
|
24 | | - <CLRSupport>true</CLRSupport>
|
25 | 24 | <CharacterSet>Unicode</CharacterSet>
|
26 | 25 | </PropertyGroup>
|
27 | 26 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
28 | 27 | <ConfigurationType>Application</ConfigurationType>
|
29 | 28 | <UseDebugLibraries>false</UseDebugLibraries>
|
30 | | - <CLRSupport>true</CLRSupport>
|
31 | 29 | <CharacterSet>Unicode</CharacterSet>
|
32 | 30 | </PropertyGroup>
|
33 | 31 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
— | — | @@ -73,11 +71,6 @@ |
74 | 72 | </Link>
|
75 | 73 | </ItemDefinitionGroup>
|
76 | 74 | <ItemGroup>
|
77 | | - <Reference Include="System" />
|
78 | | - <Reference Include="System.Data" />
|
79 | | - <Reference Include="System.Xml" />
|
80 | | - </ItemGroup>
|
81 | | - <ItemGroup>
|
82 | 75 | <ClInclude Include="common.h" />
|
83 | 76 | <ClInclude Include="resource.h" />
|
84 | 77 | </ItemGroup>
|
— | — | @@ -85,7 +78,6 @@ |
86 | 79 | <ResourceCompile Include="buildtool.rc" />
|
87 | 80 | </ItemGroup>
|
88 | 81 | <ItemGroup>
|
89 | | - <ClCompile Include="AssemblyInfo.cpp" />
|
90 | 82 | <ClCompile Include="buildtool.cpp" />
|
91 | 83 | <ClCompile Include="precomp.cpp">
|
92 | 84 | <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
|
Index: buildtool/buildtool.vcxproj.filters |
— | — | @@ -18,9 +18,6 @@ |
19 | 19 | <ClCompile Include="buildtool.cpp">
|
20 | 20 | <Filter>Source Files</Filter>
|
21 | 21 | </ClCompile>
|
22 | | - <ClCompile Include="AssemblyInfo.cpp">
|
23 | | - <Filter>Source Files</Filter>
|
24 | | - </ClCompile>
|
25 | 22 | <ClCompile Include="precomp.cpp">
|
26 | 23 | <Filter>Source Files</Filter>
|
27 | 24 | </ClCompile>
|
Index: buildtool/common.h |
— | — | @@ -19,5 +19,7 @@ |
20 | 20 | #ifndef _COMMON_H
|
21 | 21 | #define _COMMON_H
|
22 | 22 |
|
| 23 | +#include <cstdio>
|
| 24 | +#include <iostream>
|
23 | 25 |
|
24 | 26 | #endif //_COMMON_H |
\ No newline at end of file |
Index: . |
Property changes on: . |
___________________________________________________________________ |
Modified: svn:ignore |
## -2,7 +2,7 ## |
25 | 27 | Debug |
26 | 28 | Debug no DXGL |
27 | 29 | dxgl.sdf |
28 | | -dxgl.suo |
| 30 | +*.suo |
29 | 31 | ipch |
30 | 32 | Release |
31 | 33 | Release no DXGL |