11 lines
178 B
CMake
11 lines
178 B
CMake
|
add_library(memory
|
||
|
memory.c
|
||
|
)
|
||
|
|
||
|
if (BUILD_TESTING)
|
||
|
add_executable(memory-test test.c)
|
||
|
target_link_libraries(memory-test memory)
|
||
|
|
||
|
add_test(memory-test memory-test)
|
||
|
endif()
|