mirror of
https://github.com/threeal/cmake-action.git
synced 2025-04-23 20:11:20 +00:00
add test
target for testing targets
input
This commit is contained in:
parent
4a0c149898
commit
2391f1db8f
@ -11,3 +11,5 @@ endif()
|
|||||||
if(BUILD_CXX)
|
if(BUILD_CXX)
|
||||||
add_executable(hello_world hello_world.cpp)
|
add_executable(hello_world hello_world.cpp)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
add_executable(test EXCLUDE_FROM_ALL test.cpp)
|
||||||
|
3
test/test.cpp
Normal file
3
test/test.cpp
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
int main() {
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user