Support use cmake to compile in Linux, and update README.md.

master
fengjungle 2023-08-26 17:00:06 +08:00
parent 89f34871aa
commit 6b6bf5766e
2 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,4 @@
#include "FingerprintModule.h" #include "FingerprintModule.h"
#include <Windows.h>
int main() int main()
{ {
@ -19,7 +18,6 @@ int main()
fp = nullptr; fp = nullptr;
printf("\n\n"); printf("\n\n");
system("pause");
return 0; return 0;
} }

View File

@ -9,6 +9,13 @@ cd build
cmake -G "MinGW Makefiles" ../ cmake -G "MinGW Makefiles" ../
make make
``` ```
### Linux
```{.line-numbers}
mkdir build
cd build
cmake ../
make
```
## 感谢 ## 感谢
感谢@ichdream, @sterben-01对本项目的贡献也欢迎和支持更多coder提出修改和指正 感谢@ichdream, @sterben-01对本项目的贡献也欢迎和支持更多coder提出修改和指正