summaryrefslogtreecommitdiffhomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorTyge Lovset <[email protected]>2022-12-20 23:31:51 +0100
committerTyge Lovset <[email protected]>2022-12-20 23:31:51 +0100
commit5f57d597cd27aef55adbcb3b452973b0c6e33667 (patch)
treedfd59c2fd0e36a6ef37912a9d0cc5a65970f1524 /CMakeLists.txt
parent1763be8c8cbbc0896477fcf924edd4180d1345a9 (diff)
downloadSTC-modified-5f57d597cd27aef55adbcb3b452973b0c6e33667.tar.gz
STC-modified-5f57d597cd27aef55adbcb3b452973b0c6e33667.zip
Restructured folders: examples, benchmarks, tests into misc folder.
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()