CMakeLists.txt 272 B

123456789
  1. # Sets the current target name
  2. set(TARGET_NAME "testcase")
  3. # Add source files in current directory and subdirectories
  4. file(GLOB_RECURSE sources CONFIGURE_DEPENDS *.c *.cpp *.h)
  5. # Append to the top-level build target
  6. target_sources(Cbox-test PUBLIC ${sources})