diff options
Diffstat (limited to 'libs/cargs/demo/CMakeLists.txt')
-rwxr-xr-x | libs/cargs/demo/CMakeLists.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libs/cargs/demo/CMakeLists.txt b/libs/cargs/demo/CMakeLists.txt new file mode 100755 index 0000000..0d37d45 --- /dev/null +++ b/libs/cargs/demo/CMakeLists.txt @@ -0,0 +1,13 @@ +cmake_minimum_required(VERSION 3.16)
+project(cargsdemo)
+
+include(FetchContent)
+FetchContent_Declare(cargs
+ GIT_REPOSITORY git@github.com:likle/cargs.git
+ GIT_TAG stable
+)
+FetchContent_MakeAvailable(cargs)
+
+add_executable(cargsdemo main.c)
+
+target_link_libraries(cargsdemo cargs)
|