17 lines
258 B
CMake
17 lines
258 B
CMake
add_library(timer STATIC
|
|
timer.c
|
|
)
|
|
|
|
target_include_directories(timer PUBLIC
|
|
${CMAKE_CURRENT_LIST_DIR}
|
|
)
|
|
|
|
if(UNIT_TESTING)
|
|
target_link_libraries(timer
|
|
MockRegEdit
|
|
)
|
|
else()
|
|
target_link_libraries(timer
|
|
RegEdit
|
|
)
|
|
endif()
|