Skip to content
Snippets Groups Projects
Commit 82adea06 authored by Martin Beseda's avatar Martin Beseda
Browse files

Trying to fix CI

parent 11c6d733
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,7 @@ project(lib4neuro) ...@@ -5,7 +5,7 @@ project(lib4neuro)
#TODO rewrite to use add_compile_definitions #TODO rewrite to use add_compile_definitions
if(WIN32) if(WIN32)
add_compile_options("-DBOOST_ALL_NO_LIB /W0") add_compile_options("-DBOOST_ALL_NO_LIB")
else() else()
add_compile_options("-DBOOST_TEST_DYN_LINK") add_compile_options("-DBOOST_TEST_DYN_LINK")
endif() endif()
...@@ -34,10 +34,15 @@ endif() ...@@ -34,10 +34,15 @@ endif()
# Setting C++ compiler flags # # Setting C++ compiler flags #
#--------------------------------# #--------------------------------#
set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall" )
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}" )
if( "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Intel" ) if( "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Intel" )
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -xHost" ) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -xHost" )
elseif( "${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC" )
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W0")
else()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
endif() endif()
#--------------------# #--------------------#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment