created project with cmake
This commit is contained in:
parent
c4b3d8ac5f
commit
5f6abf300e
54 changed files with 412 additions and 310 deletions
44
CMake/CMake.1.6.0/Templates/VSGenerateProject.cmd.Template
Normal file
44
CMake/CMake.1.6.0/Templates/VSGenerateProject.cmd.Template
Normal file
|
@ -0,0 +1,44 @@
|
|||
@echo off
|
||||
setlocal
|
||||
|
||||
rem ###########################################################################################
|
||||
rem #
|
||||
rem # (c) Technical Software Engineering Plazotta 2019
|
||||
rem #
|
||||
rem # CMAKE generator file for Windows VS
|
||||
rem #
|
||||
rem # History
|
||||
rem # 29.09.2019 / Plazotta
|
||||
rem # Template created.
|
||||
rem #
|
||||
rem ###########################################################################################
|
||||
rem #
|
||||
rem # This generator executes cmake based on the here configured values. All files will be
|
||||
rem # copied to the location as given in the parameter BUILDRESULTS. The solution file can
|
||||
rem # be found in this location.
|
||||
rem # In this case a normal Windows Visual Studio 2017 solution will be created.
|
||||
rem #
|
||||
rem ###########################################################################################
|
||||
|
||||
rem Define build parameters
|
||||
set ARCHITECTURE=x64
|
||||
set VISUAL_STUDIO=msvc2017
|
||||
set GENERATOR=Visual Studio 15 2017 Win64
|
||||
|
||||
rem ###########################################################################################
|
||||
rem Concatenate build directory
|
||||
set BUILDRESULTS=%~dp0\..\BuildResults\%VISUAL_STUDIO%_%ARCHITECTURE%
|
||||
|
||||
rem ###########################################################################################
|
||||
rem Create build directory and push into it
|
||||
if not exist %BUILDRESULTS% mkdir %BUILDRESULTS%
|
||||
pushd %BUILDRESULTS%
|
||||
|
||||
rem ###########################################################################################
|
||||
rem Run CMake to build the solution
|
||||
echo running CMake...
|
||||
cmake.exe -G "%GENERATOR%" ../../Software
|
||||
|
||||
rem ###########################################################################################
|
||||
popd
|
||||
pause
|
Loading…
Add table
Add a link
Reference in a new issue