diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt index 7db9f73..11fc656 100644 --- a/example/CMakeLists.txt +++ b/example/CMakeLists.txt @@ -11,6 +11,7 @@ add_compile_definitions( ) add_subdirectory(CommandLine) +add_subdirectory(CommandLineC) add_subdirectory(SharedLibrary) add_subdirectory(WindowsApplication) diff --git a/example/CommandLineC/CMakeLists.txt b/example/CommandLineC/CMakeLists.txt new file mode 100644 index 0000000..ca74e83 --- /dev/null +++ b/example/CommandLineC/CMakeLists.txt @@ -0,0 +1,9 @@ +#---------------------------------------------------------------------------------------------------------------------- +# +#---------------------------------------------------------------------------------------------------------------------- +project(CommandLineC LANGUAGES C) + +add_executable(CommandLineC + main.c +) + diff --git a/example/CommandLineC/main.c b/example/CommandLineC/main.c new file mode 100644 index 0000000..7ab588b --- /dev/null +++ b/example/CommandLineC/main.c @@ -0,0 +1,6 @@ +#include + +int main(int argc, char* argv[]) +{ + printf("Hello, World!"); +}