Skip to content

Commit d341197

Browse files
committed
update cmake markdown
1 parent f66e9b1 commit d341197

File tree

2 files changed

+47
-4
lines changed

2 files changed

+47
-4
lines changed

HowToSetProject-cmake.ko.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
> *Read this in other languages: [English](HowToSetProject-cmake.md), :kr: [한국어](HowToSetProject-cmake.ko.md)*
44
5-
:one: 아래와 같은 명령어들읋 입력하세요.
5+
- 다음과 같은 명령어들을 입력하세요.
66

7-
:two: MingW 사용하기
7+
:one: MingW 사용하기
88

99
- QXlsx 라이브러리
1010

@@ -24,6 +24,28 @@ cmake -G "MinGW Makefiles" ..\HelloWorld\
2424
mingw32-make
2525
```
2626

27+
:two: Visual Studio 사용하기
28+
29+
- QXlsx 라이브러리 (Release Build)
30+
31+
```
32+
mkdir build
33+
cd build
34+
cmake -G "Visual Studio 16 2019" ..\QXlsx\
35+
MSBuild /nologo /t:Build /p:Configuration=Release QXlsx.vcxproj
36+
```
37+
38+
- HelloWorld (Release Build)
39+
40+
```
41+
mkdir build2
42+
cd build2
43+
cmake -G "Visual Studio 16 2019" ..\HelloWorld\
44+
MSBuild /nologo /t:Build /p:Configuration=Release HelloWorld.vcxproj
45+
```
46+
47+
- 또는, *.sln/*.vcxproj 파일들을 Visual Studio IDE에서 열어도 됩니다.
48+
2749
:three: Linux/Mac/Unix 사용하기
2850

2951
- QXlsx 라이브러리

HowToSetProject-cmake.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
> *Read this in other languages: [English](HowToSetProject-cmake.md), :kr: [한국어](HowToSetProject-cmake.ko.md)*
44
5-
:one: Enter the command as shown below.
5+
- Enter the command as shown below.
66

7-
:two: Using MingW
7+
:one: Using MingW
88

99
- QXlsx library
1010

@@ -24,6 +24,27 @@ cmake -G "MinGW Makefiles" ..\HelloWorld\
2424
mingw32-make
2525
```
2626

27+
:two: Using Visual Studio
28+
29+
- QXlsx library (Release Build)
30+
31+
```
32+
mkdir build
33+
cd build
34+
cmake -G "Visual Studio 16 2019" ..\QXlsx\
35+
MSBuild /nologo /t:Build /p:Configuration=Release QXlsx.vcxproj
36+
```
37+
38+
- HelloWorld (Release Build)
39+
40+
```
41+
mkdir build2
42+
cd build2
43+
cmake -G "Visual Studio 16 2019" ..\HelloWorld\
44+
MSBuild /nologo /t:Build /p:Configuration=Release HelloWorld.vcxproj
45+
```
46+
47+
- Or, You may open *.sln/*.vcxproj files in Visual Studio IDE.
2748

2849
:three: Using Linux/Mac/Unix
2950

0 commit comments

Comments
 (0)