Merge branch 'master' into linux

This commit is contained in:
Vinyl Darkscratch 2018-10-04 13:22:00 -07:00
commit 42d07bf45a
3 changed files with 18 additions and 3 deletions

17
.gitignore vendored
View File

@ -7,6 +7,17 @@
*.bmp *.bmp
*.lproj *.lproj
*.tmp
*.vcxproj
*.filters
*.sln
*.user
bin/
lib/
oneshot\.dir/
x64/
Makefile* Makefile*
/oneshot /oneshot
@ -34,11 +45,11 @@ OneShot
.qmake.stash .qmake.stash
CMakeCache.txt CMakeCache.txt
CMakeFiles/ CMakeFiles/
cmake_install\.cmake
conanbuildinfo\.cmake conanbuildinfo\.cmake
conaninfo\.txt conaninfo\.txt
conanbuildinfo\.txt conanbuildinfo\.txt
cmake_install\.cmake conan_imports_manifest\.txt
package/
oclint/ oclint/
*.tmp

View File

@ -151,6 +151,9 @@ if(WIN32)
list(APPEND MAIN_SOURCE assets/resources.rc) list(APPEND MAIN_SOURCE assets/resources.rc)
list(APPEND DEFINES UNICODE) list(APPEND DEFINES UNICODE)
list(APPEND PLATFORM_LIBRARIES Secur32) list(APPEND PLATFORM_LIBRARIES Secur32)
include_directories(
${CMAKE_CURRENT_BINARY_DIR}/windows
)
endif() endif()
if (STEAM) if (STEAM)

View File

@ -5,6 +5,7 @@
#include "debugwriter.h" #include "debugwriter.h"
#if defined _WIN32 #if defined _WIN32
#define OS_W32
#include <shlwapi.h> #include <shlwapi.h>
#elif defined __APPLE__ || __linux__ #elif defined __APPLE__ || __linux__
#define LINUX #define LINUX