From d341197a35c493e0883c95bd56a7f70ac1a05eae Mon Sep 17 00:00:00 2001 From: Jay Two Date: Sun, 7 Mar 2021 18:15:54 +0900 Subject: [PATCH] update cmake markdown --- HowToSetProject-cmake.ko.md | 26 ++++++++++++++++++++++++-- HowToSetProject-cmake.md | 25 +++++++++++++++++++++++-- 2 files changed, 47 insertions(+), 4 deletions(-) diff --git a/HowToSetProject-cmake.ko.md b/HowToSetProject-cmake.ko.md index 94eda40..12914d4 100644 --- a/HowToSetProject-cmake.ko.md +++ b/HowToSetProject-cmake.ko.md @@ -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 라이브러리 diff --git a/HowToSetProject-cmake.md b/HowToSetProject-cmake.md index 9ad253d..3e050e4 100644 --- a/HowToSetProject-cmake.md +++ b/HowToSetProject-cmake.md @@ -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