소스 검색

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
 #build it
 make
 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
 #run executable
-./../proj.cmake/build/my_awesome_game
+./../project/proj.cmake/build/my_awesome_game