Setup conditional logic for register editing module inclusion.
This commit is contained in:
parent
2af21e4ab5
commit
a0126053f6
|
@ -5,3 +5,13 @@ add_library(timer STATIC
|
||||||
target_include_directories(timer PUBLIC
|
target_include_directories(timer PUBLIC
|
||||||
${CMAKE_CURRENT_LIST_DIR}
|
${CMAKE_CURRENT_LIST_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if(UNIT_TESTING)
|
||||||
|
target_link_libraries(timer
|
||||||
|
MockRegEdit
|
||||||
|
)
|
||||||
|
else()
|
||||||
|
target_link_libraries(timer
|
||||||
|
RegEdit
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
|
@ -17,4 +17,6 @@
|
||||||
*/
|
*/
|
||||||
int add_two(int a);
|
int add_two(int a);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endif //TIMER
|
#endif //TIMER
|
||||||
|
|
Loading…
Reference in New Issue