mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-06 19:01:06 +03:00
Added working Release Configuration
This commit is contained in:
parent
6c39800d89
commit
6df3aafada
6 changed files with 119 additions and 130 deletions
|
@ -15,6 +15,7 @@
|
|||
#include <fcntl.h>
|
||||
#include <process.h>
|
||||
#include <corecrt_io.h>
|
||||
#include <iostream>
|
||||
using namespace T5M::Renderer;
|
||||
using std::exception;
|
||||
using std::string;
|
||||
|
@ -95,6 +96,7 @@ void CALLBACK HandleWmCommand(unsigned short wParam)
|
|||
}
|
||||
|
||||
void getCurrentCommit() {
|
||||
#if _DEBUG
|
||||
LPSTR cmdLine = {TEXT("git.exe log -1 --oneline")};
|
||||
|
||||
SECURITY_ATTRIBUTES sa = {0};
|
||||
|
@ -145,6 +147,7 @@ void getCurrentCommit() {
|
|||
CloseHandle(hStdOutWr);
|
||||
CloseHandle(hStdErrRd);
|
||||
CloseHandle(hStdErrWr);
|
||||
#endif
|
||||
}
|
||||
|
||||
void HandleScriptMessage(WPARAM wParam)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue