summaryrefslogtreecommitdiffhomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1a38453f..2f54a7f2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -12,8 +12,8 @@ add_executable(checkauto ${FLEX_checkauto_OUTPUTS})
include(CTest)
if(BUILD_TESTING)
- file(GLOB examples examples/*.c)
- foreach(file IN LISTS examples)
+ file(GLOB misc/examples misc/examples/*.c)
+ foreach(file IN LISTS misc/examples)
get_filename_component(name "${file}" NAME_WE)
add_executable(${name} ${file})
target_compile_options(${name} PRIVATE "-pthread")
@@ -24,7 +24,7 @@ if(BUILD_TESTING)
add_test(NAME ${name} COMMAND ${name})
endforeach()
# foreach(name IN ITEMS cdeq clist cmap csmap cvec)
- # add_executable(${name} benchmarks/plotbench/${name}_benchmark.cpp)
+ # add_executable(${name} misc/benchmarks/plotbench/${name}_benchmark.cpp)
# target_link_libraries(${name} PRIVATE stc m)
# add_test(NAME ${name} COMMAND ${name})
# endforeach()