Setup conditional logic for register editing module inclusion.

This commit is contained in:
jakeg00dwin 2024-08-02 13:10:18 -07:00
parent 2af21e4ab5
commit a0126053f6
2 changed files with 12 additions and 0 deletions

View File

@ -5,3 +5,13 @@ add_library(timer STATIC
target_include_directories(timer PUBLIC
${CMAKE_CURRENT_LIST_DIR}
)
if(UNIT_TESTING)
target_link_libraries(timer
MockRegEdit
)
else()
target_link_libraries(timer
RegEdit
)
endif()

View File

@ -17,4 +17,6 @@
*/
int add_two(int a);
#endif //TIMER