mirror of
https://github.com/cpm-cmake/CPM.cmake.git
synced 2025-11-25 05:37:28 -05:00
rename examples test.cpp -> main.cpp (#20)
This commit is contained in:
@@ -47,9 +47,9 @@ CPMAddPackage(
|
|||||||
|
|
||||||
# add executable
|
# add executable
|
||||||
set (CMAKE_CXX_STANDARD 17)
|
set (CMAKE_CXX_STANDARD 17)
|
||||||
add_executable(cpm-test test.cpp)
|
add_executable(cpm-test-complex main.cpp)
|
||||||
target_link_libraries(cpm-test LHC LarsParser Glue)
|
target_link_libraries(cpm-test-complex LHC LarsParser Glue)
|
||||||
|
|
||||||
# tests
|
# tests
|
||||||
enable_testing()
|
enable_testing()
|
||||||
add_test(cpm-test cpm-test)
|
add_test(cpm-test-complex cpm-test-complex)
|
||||||
|
|||||||
@@ -13,9 +13,9 @@ CPMAddPackage(
|
|||||||
|
|
||||||
# add executable
|
# add executable
|
||||||
set (CMAKE_CXX_STANDARD 17)
|
set (CMAKE_CXX_STANDARD 17)
|
||||||
add_executable(cpm-test test.cpp)
|
add_executable(cpm-test-simple main.cpp)
|
||||||
target_link_libraries(cpm-test LarsParser)
|
target_link_libraries(cpm-test-simple LarsParser)
|
||||||
|
|
||||||
# tests
|
# tests
|
||||||
enable_testing()
|
enable_testing()
|
||||||
add_test(cpm-test cpm-test)
|
add_test(cpm-test-simple cpm-test-simple)
|
||||||
|
|||||||
Reference in New Issue
Block a user