feat(tulip): implement some more SIMD
This commit is contained in:
@@ -5,12 +5,18 @@ project(cenet CXX)
|
||||
option(CENET_BUILD_TESTS "Compile cenet tests" OFF)
|
||||
option(CENET_BUILD_EXAMPLES "Compile cenet examples" ON)
|
||||
|
||||
option(TULIP_DISABLE_SIMD "Disable SIMD backend for tulip" OFF)
|
||||
|
||||
file(GLOB_RECURSE TULIP_HEADERS CONFIGURE_DEPENDS "include/tulip/*.hpp")
|
||||
add_library(tulip INTERFACE ${TULIP_HEADERS})
|
||||
target_include_directories(tulip INTERFACE include)
|
||||
target_compile_features(tulip INTERFACE cxx_std_17)
|
||||
add_library(cenet::tulip ALIAS tulip)
|
||||
|
||||
if(TULIP_DISABLE_SIMD)
|
||||
target_compile_definitions(tulip INTERFACE TULIP_DISABLE_SIMD)
|
||||
endif()
|
||||
|
||||
file(GLOB_RECURSE CENET_HEADERS CONFIGURE_DEPENDS "include/cenet/*.hpp")
|
||||
add_library(cenet INTERFACE ${CENET_HEADERS})
|
||||
target_link_libraries(cenet INTERFACE tulip)
|
||||
|
||||
Reference in New Issue
Block a user