2016-03-02 13:53:37 +01:00
|
|
|
project (gitversion-test)
|
|
|
|
|
|
|
|
set(SOURCES
|
|
|
|
ParserTest.cpp
|
2016-03-26 17:09:07 +01:00
|
|
|
VersionCompareTest.cpp
|
2016-03-02 13:53:37 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
add_executable(${PROJECT_NAME} ${SOURCES})
|
2019-03-24 06:01:26 +01:00
|
|
|
target_link_libraries(${PROJECT_NAME} my-gtest-main googletest gitversion)
|
2016-03-02 13:53:37 +01:00
|
|
|
add_test(${PROJECT_NAME} ${PROJECT_NAME})
|
|
|
|
|
|
|
|
target_enable_style_warnings(${PROJECT_NAME})
|
|
|
|
target_activate_cpp14(${PROJECT_NAME})
|