small stuff

This commit is contained in:
/nick haya 2022-02-20 14:04:06 +08:00
parent 79af32440d
commit fa28e4f3e2
3 changed files with 10 additions and 3 deletions

3
.gitignore vendored
View file

@ -12,4 +12,7 @@ bin/*.exe
bin/*.dll bin/*.dll
bin/log.txt bin/log.txt
bin/conf.toml bin/conf.toml
bin/*.manifest
compile_flags.txt compile_flags.txt
.cache/
.frontmatter/

View file

@ -70,6 +70,10 @@ add_executable(Skateboard WIN32 ${SOURCES} "${CMAKE_CURRENT_SOURCE_DIR}/resource
# COMPILE DEFINES # COMPILE DEFINES
target_compile_definitions(Skateboard PRIVATE PREFER_MODPLUG) target_compile_definitions(Skateboard PRIVATE PREFER_MODPLUG)
if ( MSVC )
target_compile_options(Skateboard PRIVATE /W1)
endif()
# LINK EVERYTHING # LINK EVERYTHING
target_link_libraries(Skateboard ${MAIN_LIBRARIES}) target_link_libraries(Skateboard ${MAIN_LIBRARIES})

View file

@ -20,12 +20,12 @@ Stuff like:
- [SoLoud](https://github.com/haya3218/soloud) (static library) - [SoLoud](https://github.com/haya3218/soloud) (static library)
- [LuaJIT](http://luajit.org) - [LuaJIT](http://luajit.org)
### Compiler Requirements ## Compiler Requirements
- VC++ (MSVC) version 14.2 or above - 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)) (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. 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. Reminder that ALL header files are already included, so you don't need to worry about linker issues.