Embed resource file
This commit is contained in:
parent
0ddf009a15
commit
2e4dd10c3e
@ -91,6 +91,7 @@ workspace "iw4x"
|
||||
kind "SharedLib"
|
||||
language "C++"
|
||||
files {
|
||||
"./src/**.rc",
|
||||
"./src/**.hpp",
|
||||
"./src/**.cpp",
|
||||
"./src/**.proto",
|
||||
@ -143,6 +144,7 @@ workspace "iw4x"
|
||||
vpaths {
|
||||
["Headers/*"] = { "./src/**.hpp" },
|
||||
["Sources/*"] = { "./src/**.cpp" },
|
||||
["Resource/*"] = { "./src/**.rc" },
|
||||
["Proto/Definitions/*"] = { "./src/Proto/**.proto" },
|
||||
["Proto/Generated/*"] = { "**.pb.*" }, -- meh.
|
||||
}
|
||||
|
BIN
src/Resource.rc
Normal file
BIN
src/Resource.rc
Normal file
Binary file not shown.
@ -1,5 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
// Version number
|
||||
#include <version.hpp>
|
||||
|
||||
#ifndef RESSOURCE_DATA
|
||||
|
||||
// Disable irrelevant warnings
|
||||
#pragma warning(disable: 4100) // Unreferenced parameter (steam has to have them and other stubs as well, due to their calling convention)
|
||||
|
||||
@ -71,9 +76,6 @@
|
||||
|
||||
#pragma warning(pop)
|
||||
|
||||
// Version number
|
||||
#include <version.hpp>
|
||||
|
||||
#include "Utils\CSV.hpp"
|
||||
#include "Utils\Utils.hpp"
|
||||
#include "Utils\WebIO.hpp"
|
||||
@ -99,6 +101,8 @@
|
||||
#pragma comment(lib, "Wininet.lib")
|
||||
#pragma comment(lib, "shlwapi.lib")
|
||||
|
||||
#endif
|
||||
|
||||
// Revision number
|
||||
#define STRINGIZE_(x) #x
|
||||
#define STRINGIZE(x) STRINGIZE_(x)
|
||||
@ -115,3 +119,13 @@
|
||||
|
||||
// Enable unit-test flag for release builds
|
||||
//#define FORCE_UNIT_TESTS
|
||||
|
||||
// Ressource stuff
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
#ifndef APSTUDIO_READONLY_SYMBOLS
|
||||
#define _APS_NEXT_RESOURCE_VALUE 102
|
||||
#define _APS_NEXT_COMMAND_VALUE 40001
|
||||
#define _APS_NEXT_CONTROL_VALUE 1001
|
||||
#define _APS_NEXT_SYMED_VALUE 101
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user