From fa28e4f3e27690cfba77489960c8e77765dc75eb Mon Sep 17 00:00:00 2001 From: /nick haya <74699483+The-SGPT@users.noreply.github.com> Date: Sun, 20 Feb 2022 14:04:06 +0800 Subject: [PATCH] small stuff --- .gitignore | 5 ++++- CMakeLists.txt | 4 ++++ DOCUMENTATION.md | 4 ++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 8d03d2e..f62cd2a 100644 --- a/.gitignore +++ b/.gitignore @@ -12,4 +12,7 @@ bin/*.exe bin/*.dll bin/log.txt bin/conf.toml -compile_flags.txt \ No newline at end of file +bin/*.manifest +compile_flags.txt +.cache/ +.frontmatter/ \ No newline at end of file diff --git a/CMakeLists.txt b/CMakeLists.txt index 3af7eb1..f5af2df 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -70,6 +70,10 @@ add_executable(Skateboard WIN32 ${SOURCES} "${CMAKE_CURRENT_SOURCE_DIR}/resource # COMPILE DEFINES target_compile_definitions(Skateboard PRIVATE PREFER_MODPLUG) +if ( MSVC ) + target_compile_options(Skateboard PRIVATE /W1) +endif() + # LINK EVERYTHING target_link_libraries(Skateboard ${MAIN_LIBRARIES}) diff --git a/DOCUMENTATION.md b/DOCUMENTATION.md index d8c153d..46740b0 100644 --- a/DOCUMENTATION.md +++ b/DOCUMENTATION.md @@ -20,12 +20,12 @@ Stuff like: - [SoLoud](https://github.com/haya3218/soloud) (static library) - [LuaJIT](http://luajit.org) -### Compiler Requirements +## Compiler Requirements - VC++ (MSVC) version 14.2 or above (GCC, clang, and MingW-w64 are not supported yet, [but feel free to make a pull request!](https://github.com/haya3218/SDfmL/compare)) -#### Instructions +## Instructions Copy all of the library files to the `lib/` folder. Reminder that ALL header files are already included, so you don't need to worry about linker issues.