浏览代码

Fix the paths in the run.sh of the cmake project

Alin GHERMAN 6 年之前
父节点
当前提交
285c5e42aa
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      my_awesome_game/project/proj.cmake/run.sh

+ 3 - 3
my_awesome_game/project/proj.cmake/run.sh

@@ -9,8 +9,8 @@ cmake ..
 #build it
 make
 
-#move to working data folder with resources
-cd ../../data
+#move to working data folder with resources (from the build folder)
+cd ../../../data/
 
 #run executable
-./../proj.cmake/build/my_awesome_game
+./../project/proj.cmake/build/my_awesome_game