Pārlūkot izejas kodu

don't build outside vr studio

David Rose 21 gadi atpakaļ
vecāks
revīzija
c7922f53ca
1 mainītis faili ar 13 papildinājumiem un 1 dzēšanām
  1. 13 1
      direct/src/leveleditor/Sources.pp

+ 13 - 1
direct/src/leveleditor/Sources.pp

@@ -1,3 +1,15 @@
+// Arguably, this directory doesn't really belong in direct at all,
+// since it's so very Toontown-specific.  The scripts here certainly
+// won't be useful to people outside the VR Studio.
+
+// In the short term, we'll just disable the installation of this
+// directory unless you have the ctattach tools in effect (which
+// generally indicates that you're a member of the VR Studio).
+
+#define BUILD_DIRECTORY $[CTPROJS]
 
 
 // Install scripts for building zipfiles (leveleditor and RobotToonManager)
 // Install scripts for building zipfiles (leveleditor and RobotToonManager)
-#define INSTALL_SCRIPTS printdir printlib copyfiles zipfiles
+#if $[CTPROJS]
+  #define INSTALL_SCRIPTS printdir printlib copyfiles zipfiles
+#endif
+