Support use cmake to compile in Linux, and update README.md.
parent
89f34871aa
commit
6b6bf5766e
|
@ -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;
|
||||||
}
|
}
|
|
@ -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提出修改和指正
|
||||||
|
|
Loading…
Reference in New Issue