Skip to content

Commit

Permalink
X4Server: Add assemblyInfo / FIx switching Release/Debug builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Alia5 committed May 4, 2020
1 parent f254e94 commit 4f45d2b
Show file tree
Hide file tree
Showing 4 changed files with 130 additions and 2 deletions.
100 changes: 100 additions & 0 deletions X4RestServer/X4RestServer/X4RestServer.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"

#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "winres.h"

/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
// English (United States) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)

#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE
BEGIN
"resource.h\0"
END

2 TEXTINCLUDE
BEGIN
"#include ""winres.h""\r\n"
"\0"
END

3 TEXTINCLUDE
BEGIN
"\r\n"
"\0"
END

#endif // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// Version
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 0,1,0,0
PRODUCTVERSION 0,1,0,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x40004L
FILETYPE 0x2L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "CompanyName", "Peter Repukat - FLatspotSoftware"
VALUE "FileDescription", "API Mod for X4"
VALUE "FileVersion", "0.1.0.0"
VALUE "InternalName", "X4RestServer.dll"
VALUE "LegalCopyright", "Copyright (C) 2020"
VALUE "OriginalFilename", "dbghelp.dll"
VALUE "ProductName", "X4RestServer"
VALUE "ProductVersion", "0.1.0.0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END

#endif // English (United States) resources
/////////////////////////////////////////////////////////////////////////////



#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//


/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED

10 changes: 8 additions & 2 deletions X4RestServer/X4RestServer/X4RestServer.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
<ClCompile Include="src/dllmain.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="resource.h" />
<ClInclude Include="src\httpserver\HttpServer.h" />
<ClInclude Include="src\ffi\FFIInvoke.h" />
<ClInclude Include="src\__generated__\ffi_funcs.h" />
Expand All @@ -98,9 +99,14 @@
<ClInclude Include="src\__generated__\gen_http_funs.h" />
</ItemGroup>
<ItemGroup>
<None Include="src\dbghelp.asm">
<MASM Include="src\dbghelp.asm">
<FileType>Document</FileType>
</None>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</ExcludedFromBuild>
</MASM>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="X4RestServer.rc" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
Expand Down
8 changes: 8 additions & 0 deletions X4RestServer/X4RestServer/X4RestServer.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@
<ClInclude Include="src\__generated__\gen_http_funs.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="resource.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="X4RestServer.rc">
<Filter>Resource Files</Filter>
</ResourceCompile>
</ItemGroup>
<ItemGroup>
<None Include="src\dbghelp.asm">
Expand Down
14 changes: 14 additions & 0 deletions X4RestServer/X4RestServer/resource.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by X4RestServer.rc

// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 101
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1001
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif

0 comments on commit 4f45d2b

Please sign in to comment.