From e4467bed5174119368fe4c13c37bf0c8f31f8639 Mon Sep 17 00:00:00 2001 From: Arash Badie-Modiri Date: Sat, 17 Feb 2024 12:50:16 +0200 Subject: [PATCH] remove most of the compile flags --- CMakeLists.txt | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 62f3d51..56fb6dc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -55,15 +55,7 @@ nanobind_add_module( target_link_libraries(bliss_bind_ext PRIVATE bliss_static) if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") - target_compile_options(bliss_bind_ext PRIVATE - /W4 /permissive- /w14242 /w14254 /w14263 /w14265 /w14287 /we4289 /w14296 - /w14311 /w14545 /w14546 /w14547 /w14549 /w14555 /w14619 /w14640 /w14826 - /w14905 /w14906 /w14928) -else() - target_compile_options(bliss_bind_ext PRIVATE - -Werror -Wall -Wextra -Wconversion -Wsign-conversion -Wnull-dereference - -Wnon-virtual-dtor -Wold-style-cast -Wcast-align -Wunused - -Woverloaded-virtual -Wpedantic -Wimplicit-fallthrough) + target_compile_options(bliss_bind_ext PRIVATE /permissive-) endif() install(TARGETS bliss_bind_ext LIBRARY DESTINATION bliss_bind)