Skip to content

lightyears1998/cmake-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Memo

Reference:

mkdir _builds # Stores CMake generated native tool files

cmake --help # Take a look at "GENERATORS" section

# Run the following batch file from cmd to setup complier for VS2017
# "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvars64.bat"

# Generate native tool files
# Be cautious with space in CLI arguments!
cmake -H"." -B"_builds" -G"Visual Studio 15 2017 Win64"

# Build
cmake --build _builds

About

Have a try on CMake's features.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published