Closed MaciejPatro closed 4 years ago
target_compile_options(${PROJECT_NAME} PRIVATE $<$<CXX_COMPILER_ID:MSVC>:/wd4251> # warning about DLL interface $<$<AND:$<AND:$<PLATFORM_ID:A_PLATFORM>,$<VERSION_EQUAL:${CMAKE_SYSTEM_VERSION},64.00>,$<CXX_COMPILER_ID:MSVC>>,$<CONFIG:Release>>:/QRfpe-> $<$<CXX_COMPILER_ID:GNU>:-w> # TODO: suppress all GCC warnings $<$<CXX_COMPILER_ID:Clang>:-Wno-everything> # TODO: suppress all Clang warnings )
adds newline at the end for some reason with:
{ "succeeding_newlines": 2, "tabs_as_spaces": false, "tab_size": 4, "force_command_lowercase": true, "space_between_command_and_begin_parentheses": false, "line_length": 100, "wrap_short_invocations_to_single_line": true, "closing_parentheses_in_newline_when_split": true, "unquoted_uppercase_as_keyword": false, "space_after_loop_condition": false, "keep_property_and_value_in_one_line": true, "keyword_and_single_value_in_one_line": true, "keywords": [] }
adds newline at the end for some reason with: