More work on figuring out wclang with conan.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
e578331001
commit
61aa266737
|
@ -18,16 +18,12 @@ add_library(Arbutils ${LIBTYPE} ${SRC_FILES})
|
|||
|
||||
if (WINDOWS)
|
||||
MESSAGE(WARNING, "Using Windows Build.")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m64 -Wa,-mbig-obj -pthread")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m64 -Wa,-mbig-obj -pthread -wc-use-mingw-linker")
|
||||
set_target_properties(Arbutils PROPERTIES SUFFIX ".dll")
|
||||
endif (WINDOWS)
|
||||
|
||||
if (STATICC)
|
||||
if (WINDOWS)
|
||||
target_link_libraries(Arbutils -wc-static-runtime)
|
||||
else ()
|
||||
target_link_libraries(Arbutils -static-libgcc -static-libstdc++)
|
||||
endif (WINDOWS)
|
||||
target_link_libraries(Arbutils -static-libgcc -static-libstdc++)
|
||||
endif (STATICC)
|
||||
|
||||
file(GLOB_RECURSE TEST_FILES "tests/*.cpp" "tests/*.hpp")
|
||||
|
|
Loading…
Reference in New Issue