CMakeLists.txt編寫

1、新建一個src文件夾,裏面放入hello.c,hello.h,,main.c,CMakeLists.txt這四個文件,這四個文件夾裏面的內容分別以下:app 1.hello.cui #include "hello.h" void hello_func(void) { printf("Hello World!\n"); return; } 2.hello.hspa #ifndef HEL
相關文章
相關標籤/搜索