Moved over first rbtree test from koka_bench and integrated Kraken via compiler wrapper script that calls the partial_evaluator / compiler and then emits a wrapper script that runs the resulting wasm via wasmtime.
This commit is contained in:
16
koka_bench/cpp/CMakeLists.txt
Normal file
16
koka_bench/cpp/CMakeLists.txt
Normal file
@@ -0,0 +1,16 @@
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED YES)
|
||||
set(CMAKE_CXX_EXTENSIONS NO)
|
||||
|
||||
foreach (source IN ITEMS rbtree.cpp)
|
||||
get_filename_component(name "${source}" NAME_WE)
|
||||
set(name "cpp-${name}")
|
||||
|
||||
add_executable(${name} ${source})
|
||||
if(source MATCHES "binarytrees.cpp")
|
||||
target_link_libraries(${name} pthread)
|
||||
endif()
|
||||
|
||||
add_test(NAME ${name} COMMAND ${name})
|
||||
set_tests_properties(${name} PROPERTIES LABELS cpp)
|
||||
endforeach ()
|
||||
Reference in New Issue
Block a user