[.gitignore] Updated for Windows.

This commit is contained in:
Quentin Bazin 2020-01-22 16:22:06 +09:00
parent 7f41d3c7bb
commit df1603c608
4 changed files with 13 additions and 6 deletions

7
.gitignore vendored
View File

@ -31,12 +31,18 @@ Makefile
*.sln
*.vcxproj
*.vcxproj.filters
*.vcxproj.user
openminer.dir
openminer_common.dir
openminer_client.dir
openminer_server.dir
Win32
Debug
Release
RelWithDebInfo
# Visual Studio
.vs
# Doxygen generated files
doc/html
@ -46,6 +52,7 @@ doc/latex
client/openminer
server/openminer_server
*.exe
*.dll
# Misc
*.zip

View File

@ -21,8 +21,8 @@ add_dependencies(${CMAKE_PROJECT_NAME} ${CMAKE_PROJECT_NAME}_common)
if (NOT MSVC)
target_compile_options(${CMAKE_PROJECT_NAME} PRIVATE -O3 -ffast-math)
target_compile_options(${CMAKE_PROJECT_NAME} PRIVATE -g -Wall -Wextra -Wfatal-errors -Wno-variadic-macros)
else ()
target_compile_options(${CMAKE_PROJECT_NAME} PRIVATE /O2)
#else ()
#target_compile_options(${CMAKE_PROJECT_NAME} PRIVATE /O2)
endif ()
target_compile_options(${CMAKE_PROJECT_NAME} PRIVATE -DDEBUG_ENABLED)

View File

@ -20,8 +20,8 @@ add_library(${CMAKE_PROJECT_NAME}_common STATIC ${SOURCE_FILES})
if (NOT MSVC)
target_compile_options(${CMAKE_PROJECT_NAME}_common PRIVATE -O3 -ffast-math)
target_compile_options(${CMAKE_PROJECT_NAME}_common PRIVATE -g -Wall -Wextra -Wfatal-errors -Wno-variadic-macros)
else ()
target_compile_options(${CMAKE_PROJECT_NAME}_common PRIVATE /O2)
#else ()
# target_compile_options(${CMAKE_PROJECT_NAME}_common PRIVATE /O2)
endif ()
target_compile_options(${CMAKE_PROJECT_NAME}_common PRIVATE -DDEBUG_ENABLED)

View File

@ -21,8 +21,8 @@ add_dependencies(${CMAKE_PROJECT_NAME}_server ${CMAKE_PROJECT_NAME}_common)
if (NOT MSVC)
target_compile_options(${CMAKE_PROJECT_NAME}_server PRIVATE -O3 -ffast-math)
target_compile_options(${CMAKE_PROJECT_NAME}_server PRIVATE -g -Wall -Wextra -Wfatal-errors -Wno-variadic-macros)
else ()
target_compile_options(${CMAKE_PROJECT_NAME}_server PRIVATE /O2)
#else ()
# target_compile_options(${CMAKE_PROJECT_NAME}_server PRIVATE /O2)
endif ()
target_compile_options(${CMAKE_PROJECT_NAME}_server PRIVATE -DDEBUG_ENABLED)