add test target for testing targets input

This commit is contained in:
Alfi Maulana 2023-01-11 15:50:37 +07:00
parent 4a0c149898
commit 2391f1db8f
No known key found for this signature in database
GPG Key ID: 2242A64C2A8DF5A4
2 changed files with 5 additions and 0 deletions

View File

@ -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
View File

@ -0,0 +1,3 @@
int main() {
return 0;
}