mirror of
https://github.com/threeal/cmake-action.git
synced 2026-02-01 19:40:49 +00:00
add test target for testing targets input
This commit is contained in:
@@ -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;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user