c语言的一些样例工程,基于cmake
sample1
# tree sample1
sample1
├── CMakeLists.txt
├── include
│ └── hello.h
└── src
├── CMakeLists.txt
├── hello.c
└── main.c
sample2
# tree sample2
sample2
├── CMakeLists.txt
└── src
├── CMakeLists.txt
├── hello
│ ├── CMakeLists.txt
│ ├── hello.c
│ └── hello.h
├── main.c
└── world
├── CMakeLists.txt
├── world.c
└── world.h
sample3
# tree sample3
sample3
├── CMakeLists.txt
├── include
├── src
│ ├── CMakeLists.txt
│ ├── hello
│ │ ├── hello.c
│ │ └── hello.h
│ └── world
│ ├── world.c
│ └── world.h
└── test
├── CMakeLists.txt
└── test.c