Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added CMake generation from bat file

  • Loading branch information...
commit 702a2802146535110d2def4054613cc28d2a7235 1 parent d034f42
@kariem2k kariem2k authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 gameplay-newproject.bat
View
5 gameplay-newproject.bat
@@ -230,6 +230,11 @@ mkdir "%projPath%\android\res\values"
copy gameplay-template\android\res\values\template.strings.xml "%projPath%\android\res\values\strings.xml"
call:replace "%projPath%\android\res\values\strings.xml" TEMPLATE_TITLE "%title%"
+mkdir "%projPath%\build"
+copy "gameplay-template\gameplay-template-CMakeLists.txt" "%projPath%\CMakeLists.txt"
+call:replace "%projPath%\CMakeLists.txt" TEMPLATE_PROJECT %projName%
+call:replace "%projPath%\CMakeLists.txt" TemplateGame %className%
+call:replace "%projPath%\CMakeLists.txt" GAMEPLAY_PATH %gpPath%
REM Copy source files
copy gameplay-template\src\TemplateGame.h "%projPath%\src\%className%.h"
Please sign in to comment.
Something went wrong with that request. Please try again.