Skip to content

Commit b938894

Browse files
author
Jesse
committed
added example executable
1 parent a1d8e07 commit b938894

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ enable_testing()
99
add_library(argparse INTERFACE)
1010
target_include_directories(argparse INTERFACE .)
1111

12+
add_executable(example example.cpp)
13+
target_link_libraries(example PRIVATE argparse)
14+
1215
if(ARGPARSE_TEST_ENABLE)
1316
add_executable(tests tests.cpp)
1417
add_test(

0 commit comments

Comments
 (0)