• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1cmake_minimum_required(VERSION 3.5)
2
3# project name
4project (asan_test)
5
6set(EXECUTABLE_OUTPUT_PATH build/out)
7
8# Add executable
9file(GLOB TESTCASES src/*.cpp )
10foreach(srcfile IN LISTS ${TESTCASES})
11    get_filename_component(testname ${srcfile} NAME_WE)
12    add_executable( ${testname} ${srcfile})
13endforeach()
14