1
0
mirror of https://github.com/QtExcel/QXlsx.git synced 2025-01-16 04:42:53 +08:00

update cmake markdown

This commit is contained in:
Jay Two 2021-03-07 18:15:54 +09:00
parent f66e9b15e5
commit d341197a35
2 changed files with 47 additions and 4 deletions

View File

@ -2,9 +2,9 @@
> *Read this in other languages: [English](HowToSetProject-cmake.md), :kr: [한국어](HowToSetProject-cmake.ko.md)*
:one: 아래와 같은 명령어들읋 입력하세요.
- 다음과 같은 명령어들을 입력하세요.
:two: MingW 사용하기
:one: MingW 사용하기
- QXlsx 라이브러리
@ -24,6 +24,28 @@ cmake -G "MinGW Makefiles" ..\HelloWorld\
mingw32-make
```
:two: Visual Studio 사용하기
- QXlsx 라이브러리 (Release Build)
```
mkdir build
cd build
cmake -G "Visual Studio 16 2019" ..\QXlsx\
MSBuild /nologo /t:Build /p:Configuration=Release QXlsx.vcxproj
```
- HelloWorld (Release Build)
```
mkdir build2
cd build2
cmake -G "Visual Studio 16 2019" ..\HelloWorld\
MSBuild /nologo /t:Build /p:Configuration=Release HelloWorld.vcxproj
```
- 또는, *.sln/*.vcxproj 파일들을 Visual Studio IDE에서 열어도 됩니다.
:three: Linux/Mac/Unix 사용하기
- QXlsx 라이브러리

View File

@ -2,9 +2,9 @@
> *Read this in other languages: [English](HowToSetProject-cmake.md), :kr: [한국어](HowToSetProject-cmake.ko.md)*
:one: Enter the command as shown below.
- Enter the command as shown below.
:two: Using MingW
:one: Using MingW
- QXlsx library
@ -24,6 +24,27 @@ cmake -G "MinGW Makefiles" ..\HelloWorld\
mingw32-make
```
:two: Using Visual Studio
- QXlsx library (Release Build)
```
mkdir build
cd build
cmake -G "Visual Studio 16 2019" ..\QXlsx\
MSBuild /nologo /t:Build /p:Configuration=Release QXlsx.vcxproj
```
- HelloWorld (Release Build)
```
mkdir build2
cd build2
cmake -G "Visual Studio 16 2019" ..\HelloWorld\
MSBuild /nologo /t:Build /p:Configuration=Release HelloWorld.vcxproj
```
- Or, You may open *.sln/*.vcxproj files in Visual Studio IDE.
:three: Using Linux/Mac/Unix