Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

180 lines
4.3 KiB

  1. //-----------------------------------------------------------------------------
  2. // Project Script
  3. //-----------------------------------------------------------------------------
  4. $Macro SRCDIR "..\..\..\.."
  5. $Macro OUTBINDIR "."
  6. $Include "$SRCDIR\vpc_scripts\source_exe_con_win32_base.vpc"
  7. $Configuration
  8. {
  9. $Compiler
  10. {
  11. $AdditionalIncludeDirectories "$BASE,..\include;..\sqplus"
  12. $PreprocessorDefinitions "$BASE;PROTECTED_THINGS_DISABLE;VSQUIRREL_TEST"
  13. }
  14. }
  15. $Project "vsquirrel"
  16. {
  17. $Folder "Script Files"
  18. {
  19. $File "init.nut"
  20. {
  21. $Configuration
  22. {
  23. $CustomBuildStep
  24. {
  25. $CommandLine "$SRCDIR\devtools\srcsrv\perl\bin\perl.exe $SRCDIR\devtools\bin\texttoarray.pl $(InputFileName) g_Script_$(InputName)> $(InputName)_nut.h" [$WINDOWS]
  26. $CommandLine "perl $SRCDIR\devtools\bin\texttoarray.pl $(InputFileName) g_Script_$(InputName)> $(InputName)_nut.h" [$POSIX]
  27. $Description "$(InputFileName) produces $(InputName)_nut.h"
  28. $Outputs "$(InputName)_nut.h"
  29. }
  30. }
  31. }
  32. }
  33. $Folder "Source Files"
  34. {
  35. $File "..\..\..\..\public\vscript\ivscript.h"
  36. $File "..\..\..\..\public\vscript\vscript_templates.h"
  37. $File "vsquirrel.cpp"
  38. {
  39. $Configuration
  40. {
  41. $Compiler
  42. {
  43. // "SQPlus" need exceptions. If commit to squirrel, look into removing that
  44. $AdditionalOptions "/EHa"
  45. }
  46. }
  47. }
  48. }
  49. $Folder "Squirrel"
  50. {
  51. $Folder "Header Files"
  52. {
  53. $File "..\include\sqdbgserver.h"
  54. $File "..\include\sqrdbg.h"
  55. $File "..\include\sqstdaux.h"
  56. $File "..\include\sqstdblob.h"
  57. $File "..\include\sqstdio.h"
  58. $File "..\include\sqstdmath.h"
  59. $File "..\include\sqstdstring.h"
  60. $File "..\include\sqstdsystem.h"
  61. $File "..\include\squirrel.h "
  62. }
  63. $Folder "squirrel"
  64. {
  65. $Folder "Source Files"
  66. {
  67. $File "..\squirrel\sqapi.cpp" \
  68. "..\squirrel\sqbaselib.cpp" \
  69. "..\squirrel\sqclass.cpp" \
  70. "..\squirrel\sqcompiler.cpp" \
  71. "..\squirrel\sqdebug.cpp" \
  72. "..\squirrel\sqfuncstate.cpp" \
  73. "..\squirrel\sqlexer.cpp" \
  74. "..\squirrel\sqmem.cpp" \
  75. "..\squirrel\sqobject.cpp" \
  76. "..\squirrel\sqstate.cpp" \
  77. "..\squirrel\sqtable.cpp" \
  78. "..\squirrel\sqvm.cpp" \
  79. "..\sqdbg\sqrdbg.cpp" \
  80. "..\sqdbg\sqdbgserver.cpp"
  81. {
  82. $Configuration
  83. {
  84. $Compiler
  85. {
  86. $WarningLevel "Level 3 (/W3)"
  87. $Detect64bitPortabilityIssues "No"
  88. }
  89. }
  90. }
  91. }
  92. $Folder "Header Files"
  93. {
  94. $File "..\squirrel\sqarray.h" \
  95. "..\squirrel\sqclass.h" \
  96. "..\squirrel\sqclosure.h" \
  97. "..\squirrel\sqcompiler.h" \
  98. "..\squirrel\sqfuncproto.h" \
  99. "..\squirrel\sqfuncstate.h" \
  100. "..\squirrel\sqlexer.h" \
  101. "..\squirrel\sqobject.h" \
  102. "..\squirrel\sqopcodes.h" \
  103. "..\squirrel\sqpcheader.h" \
  104. "..\squirrel\sqstate.h" \
  105. "..\squirrel\sqstring.h" \
  106. "..\squirrel\sqtable.h" \
  107. "..\squirrel\squserdata.h" \
  108. "..\squirrel\squtils.h" \
  109. "..\squirrel\sqvm.h"
  110. }
  111. }
  112. $Folder "sqstdlib"
  113. {
  114. $Folder "Source Files"
  115. {
  116. $File "..\sqstdlib\sqstdaux.cpp"\
  117. "..\sqstdlib\sqstdblob.cpp" \
  118. "..\sqstdlib\sqstdmath.cpp" \
  119. "..\sqstdlib\sqstdrex.cpp" \
  120. "..\sqstdlib\sqstdstream.cpp" \
  121. "..\sqstdlib\sqstdstring.cpp"
  122. {
  123. $Configuration
  124. {
  125. $Compiler
  126. {
  127. $WarningLevel "Level 3 (/W3)"
  128. $Detect64bitPortabilityIssues "No"
  129. }
  130. }
  131. }
  132. }
  133. }
  134. $Folder "sqplus"
  135. {
  136. $Folder "Source Files"
  137. {
  138. $File "..\sqplus\SqPlus.cpp" \
  139. "..\sqplus\SquirrelBindingsUtils.cpp" \
  140. "..\sqplus\SquirrelBindingsUtilsWin32.cpp" \
  141. "..\sqplus\SquirrelObject.cpp" \
  142. "..\sqplus\SquirrelVM.cpp"
  143. {
  144. $Configuration
  145. {
  146. $Compiler
  147. {
  148. $WarningLevel "Level 3 (/W3)"
  149. $Detect64bitPortabilityIssues "No"
  150. // "SQPlus" need exceptions. If commit to squirrel, look into removing that
  151. $AdditionalOptions "/EHa"
  152. }
  153. }
  154. }
  155. }
  156. $Folder "Header Files"
  157. {
  158. $File "..\sqplus\sqplus.h" \
  159. "..\sqplus\SqPlusConst.h" \
  160. "..\sqplus\sqplusWin32.h" \
  161. "..\sqplus\SquirrelBindingsUtils.h" \
  162. "..\sqplus\SquirrelBindingsUtilsWin32.h" \
  163. "..\sqplus\SquirrelObject.h" \
  164. "..\sqplus\SquirrelVM.h"
  165. }
  166. }
  167. }
  168. $Folder "Link Libraries"
  169. {
  170. $File "$SRCDIR\lib\public\mathlib.lib"
  171. }
  172. }