1
0
mirror of https://github.com/QtExcel/QXlsx.git synced 2025-01-30 05:02:52 +08:00
QXlsx/HowToSetProject-cmake.ko.md

47 lines
655 B
Markdown
Raw Normal View History

2021-02-12 22:11:11 +09:00
## cmake 사용하기
> *Read this in other languages: [English](HowToSetProject-cmake.md), :kr: [한국어](HowToSetProject-cmake.ko.md)*
:one: 아래와 같은 명령어들읋 입력하세요.
2021-02-12 23:52:03 +09:00
:two: MingW 사용하기
- QXlsx 라이브러리
2021-02-12 22:11:11 +09:00
```
mkdir build
cd build
cmake -G "MinGW Makefiles" ..\QXlsx\
mingw32-make
```
2021-02-12 23:52:03 +09:00
- HelloWorld
```
mkdir build2
cd build2
cmake -G "MinGW Makefiles" ..\HelloWorld\
mingw32-make
```
2021-02-12 22:11:11 +09:00
:three: Linux/Mac/Unix 사용하기
2021-02-12 23:52:03 +09:00
- QXlsx 라이브러리
2021-02-12 22:11:11 +09:00
```
mkdir build
cd build
cmake -G "Unix Makefiles" ../QXlsx/
make
```
2021-02-12 23:52:03 +09:00
- HelloWorld
```
mkdir build2
cd build2
cmake -G "Unix Makefiles" ..\HelloWorld\
make
```