Skip to content

Commit

Permalink
Add a script to convert blueprint only project to a cpp project.
Browse files Browse the repository at this point in the history
  • Loading branch information
qiuwch committed May 24, 2017
1 parent b5df936 commit e166b1f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/make_uproject_cpp.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Convert a blueprint only project to a cpp project by
# adding some empty cpp code to fool the checking code
uproject=`ls *.uproject`

# Make sure I am in a uproject folder
echo ${uproject}
if [ ! -z ${uproject} ]; then
echo Make a folder called Source
mkdir -p Source
fi

build_rule="using UnrealBuildTool; public class dummyTarget : TargetRules { public dummyTarget(TargetInfo Target) { } }"
echo ${build_rule} > Source/dummy.Target.cs

0 comments on commit e166b1f

Please sign in to comment.