You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
376 B
16 lines
376 B
cmake_minimum_required(VERSION 3.5) |
|
|
|
set(C_STANDARD 11) |
|
enable_testing() |
|
|
|
set(SRC_DIR ../../src) |
|
|
|
include_directories(${SRC_DIR}) |
|
|
|
add_executable(ProcReaderTest |
|
${SRC_DIR}/core/ProcAnalyzer.c |
|
${SRC_DIR}/infrastructure/ProcReader.c |
|
${SRC_DIR}/infrastructure/ProcPrinter.c |
|
ProcReader.test.c |
|
) |
|
add_test(ProcReaderTest ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/ProcReaderTest)
|
|
|