Forráskód Böngészése

Disable lua sample and enable terrain sample

Daniele Bartolini 12 éve
szülő
commit
4fa35c8d53

+ 3 - 3
samples/lua/CMakeLists.txt

@@ -5,8 +5,8 @@ set (SRC
 )
 )
 
 
 add_definitions(-Wl,-E)
 add_definitions(-Wl,-E)
-add_library (game SHARED ${SRC})
-target_link_libraries(game crown)
+#add_library (game SHARED ${SRC})
+#target_link_libraries(game crown)
 
 
-install (TARGETS game DESTINATION bin/lua_sample)
+#install (TARGETS game DESTINATION bin/lua_sample)
 
 

+ 4 - 4
samples/terrain/CMakeLists.txt

@@ -11,9 +11,9 @@ set (HEADERS
 	Terrain.h
 	Terrain.h
 )
 )
 
 
-#add_library (game SHARED ${SRC} ${HEADERS})
-#target_link_libraries(game crown)
+add_library (game SHARED ${SRC} ${HEADERS})
+target_link_libraries(game crown)
 
 
-#install (DIRECTORY terrain DESTINATION samples)
-#install (TARGETS game DESTINATION samples/terrain)
+install (DIRECTORY terrain DESTINATION samples)
+install (TARGETS game DESTINATION samples/terrain)
 
 

+ 0 - 1
samples/terrain/terrain.cpp

@@ -2,7 +2,6 @@
 #include "Terrain.h"
 #include "Terrain.h"
 #include "FPSSystem.h"
 #include "FPSSystem.h"
 #include "Game.h"
 #include "Game.h"
-#include "ScriptSystem.h"
 
 
 using namespace crown;
 using namespace crown;