cleanup before merge

This commit is contained in:
Hane 2023-07-25 20:41:31 +02:00
commit e9b478d569
8 changed files with 19 additions and 18 deletions

5
buildall.bat Normal file
View file

@ -0,0 +1,5 @@
REM MS yo me cago en tus putisimos muertos que cojones es este bug centenario estupido y miserable con los parametros?
REM este comentario es de cuando me lo encontre hace rato, pero me hace gracia, asi que se queda
CALL buildlib.bat
CALL buildtest.bat

5
builddall.bat Normal file
View file

@ -0,0 +1,5 @@
REM MS yo me cago en tus putisimos muertos que cojones es este bug centenario estupido y miserable con los parametros?
REM este comentario es de cuando me lo encontre hace rato, pero me hace gracia, asi que se queda
CALL builddlib.bat
CALL builddtest.bat

3
builddlib.bat Normal file
View file

@ -0,0 +1,3 @@
clang++ -DDEBUG -D_DEBUG -shared src\tmrtsc.cpp -o build\libtmrtscd.dll -Wall -Wextra -Wpedantic -std=c++11 -g -gcodeview -Wl,-pdb= -L C:\capybara\libclang\x86_64-w64-mingw32\bin -Wl,-Bstatic -l c++ -l unwind --verbose
REM -lmsvcrt -lucrtbase -lvcruntime140_app

4
builddtest.bat Normal file
View file

@ -0,0 +1,4 @@
clang++ -DDEBUG -D_DEBUG -dynamic src\test\test.cpp -o build\testd.exe -Wall -Wextra -Wpedantic -std=c++11 -g -gcodeview -Wl,-pdb= -L C:\capybara\libclang\x86_64-w64-mingw32\bin -L D:\Contenido\Capybara\Cositas\tmr\build -Wl,-Bstatic -l c++ -l unwind -Wl,-Bdynamic -l tmrtsc --verbose
REM -fms-runtime-lib dll_dbgx
REM -lmsvcrt -lucrtbase -lvcruntime140_app

View file

@ -1,3 +1,2 @@
clang++ -DDEBUG -shared src\tmrtsc.cpp -o build\libtmrtsc.dll -Wall -Wextra -Wpedantic -std=c++11 -g -gcodeview -Wl,-pdb= -L C:\capybara\libclang\x86_64-w64-mingw32\bin -Wl,-Bstatic -l c++ -l unwind --verbose
clang++ -shared src\tmrtsc.cpp -o build\libtmrtsc.dll -Wall -Wextra -Wpedantic -std=c++11 -L C:\capybara\libclang\x86_64-w64-mingw32\bin -Wl,-Bstatic -l c++ -l unwind --verbose
REM -lmsvcrt -lucrtbase -lvcruntime140_app

View file

@ -1,4 +1 @@
clang++ -DDEBUG -dynamic src\test\test.cpp -o build\test.exe -Wall -Wextra -Wpedantic -std=c++11 -g -gcodeview -Wl,-pdb= -L C:\capybara\libclang\x86_64-w64-mingw32\bin -L D:\Contenido\Capybara\Cositas\tmr\build -Wl,-Bstatic -l c++ -l unwind -Wl,-Bdynamic -l tmrtsc --verbose
REM -fms-runtime-lib dll_dbgx
REM -lmsvcrt -lucrtbase -lvcruntime140_app
clang++ -dynamic src\test\test.cpp -o build\test.exe -Wall -Wextra -Wpedantic -std=c++11 -L C:\capybara\libclang\x86_64-w64-mingw32\bin -L D:\Contenido\Capybara\Cositas\tmr\build -Wl,-Bstatic -l c++ -l unwind -Wl,-Bdynamic -l tmrtsc --verbose

View file

@ -2,14 +2,8 @@
#define UNICODE
#define WIN32_LEAN_AND_MEAN
#define DllImport __declspec( dllimport )
#define _DEBUG
#define _MT
#define _DLL
/*
* #define _MT
* #define _DLL
* #define _DEBUG
*/
#include <Windows.h>
#include <libloaderapi.h>
#endif

View file

@ -8,14 +8,8 @@
#define _WIN32_WINNT _WIN32_WINNT_WIN10 //0x0A00
#define MAX_KEY_LENGTH 255
#define MAX_VALUE_NAME 32767
#define _DEBUG
#define _MT
#define _DLL
/*
* #define _MT
* #define _DLL
* #define _DEBUG
*/
#include <Windows.h>
#include <winreg.h>
#include <stringapiset.h>