created project with cmake
This commit is contained in:
parent
c4b3d8ac5f
commit
5f6abf300e
54 changed files with 412 additions and 310 deletions
25
Software/VSGenerateProject.cmd
Normal file
25
Software/VSGenerateProject.cmd
Normal file
|
@ -0,0 +1,25 @@
|
|||
@echo off
|
||||
setlocal
|
||||
|
||||
rem define build parameters
|
||||
set ARCHITECTURE=x64
|
||||
set VISUAL_STUDIO=msvc2019
|
||||
set GENERATOR=Visual Studio 16 2019
|
||||
|
||||
rem concatenate build directory
|
||||
set BUILDRESULTS=%~dp0\..\BuildResults\%VISUAL_STUDIO%_%ARCHITECTURE%
|
||||
|
||||
rem create build directory and push into it
|
||||
if not exist %BUILDRESULTS% mkdir %BUILDRESULTS%
|
||||
if not exist %BUILDRESULTS%\Debug\bin mkdir %BUILDRESULTS%\Debug\bin
|
||||
if not exist %BUILDRESULTS%\Release\bin mkdir %BUILDRESULTS%\Release\bin
|
||||
|
||||
pushd %BUILDRESULTS%
|
||||
|
||||
rem run CMake to build the solution
|
||||
echo running CMake...
|
||||
cmake.exe -G "%GENERATOR%" ../../Software
|
||||
|
||||
popd
|
||||
|
||||
pause
|
Loading…
Add table
Add a link
Reference in a new issue