13 lines
293 B
CMake
13 lines
293 B
CMake
|
project (gitversion-test)
|
||
|
|
||
|
set(SOURCES
|
||
|
ParserTest.cpp
|
||
|
)
|
||
|
|
||
|
add_executable(${PROJECT_NAME} ${SOURCES})
|
||
|
target_link_libraries(${PROJECT_NAME} googletest gitversion)
|
||
|
add_test(${PROJECT_NAME} ${PROJECT_NAME})
|
||
|
|
||
|
target_enable_style_warnings(${PROJECT_NAME})
|
||
|
target_activate_cpp14(${PROJECT_NAME})
|