Skip to content

Commit

Permalink
try ignore C# warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
AviaAv committed Sep 30, 2024
1 parent f40ec72 commit adf26d4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions CMake/unix_config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,6 @@ macro(os_set_flags)

set_directory_properties(PROPERTIES DIRECTORY third-party/ COMPILE_OPTIONS "-w")
set_source_files_properties(third-party/*.* PROPERTIES COMPILE_OPTIONS "-w")
set_directory_properties(PROPERTIES DIRECTORY wrappers/ COMPILE_OPTIONS "-w")
set_source_files_properties(wrappers/*.* PROPERTIES COMPILE_OPTIONS "-w")

#################

Expand Down
4 changes: 1 addition & 3 deletions CMake/windows_config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,9 @@ macro(os_set_flags)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${ADDITIONAL_COMPILER_FLAGS}")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${ADDITIONAL_COMPILER_FLAGS}")


set(CMAKE_CSharp_FLAGS "${CMAKE_CSharp_FLAGS} /nowarn") # disable warnings for C#
set_directory_properties(PROPERTIES DIRECTORY third-party/ COMPILE_OPTIONS "/W0")
set_source_files_properties(third-party/*.* PROPERTIES COMPILE_OPTIONS "/W0")
set_directory_properties(PROPERTIES DIRECTORY wrappers/ COMPILE_OPTIONS "/W0")
set_source_files_properties(wrappers/*.* PROPERTIES COMPILE_OPTIONS "/W0")

#################

Expand Down

0 comments on commit adf26d4

Please sign in to comment.