Kaynağa Gözat

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

Alin GHERMAN 6 yıl önce
ebeveyn
işleme
285c5e42aa
1 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  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