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.

861 lines
11 KiB

  1. //
  2. // PS3 Project Generator Definition
  3. //
  4. "PS3"
  5. {
  6. "Version" "1.0"
  7. //
  8. // Configuration
  9. //
  10. "$General"
  11. {
  12. "$ConfigurationType"
  13. {
  14. "ordinals"
  15. {
  16. "ELF" "1"
  17. "PRX" "1"
  18. "LIB" "4"
  19. }
  20. }
  21. "$ExcludedFromBuild"
  22. {
  23. "type" "bool"
  24. }
  25. "$OutputDirectory"
  26. {
  27. "type" "string"
  28. }
  29. "$IntermediateDirectory"
  30. {
  31. "type" "string"
  32. }
  33. "$ExtensionsToDeleteOnClean"
  34. {
  35. "type" "string"
  36. }
  37. "$BuildLogFile"
  38. {
  39. "type" "string"
  40. }
  41. "$SystemIncludeDependencies"
  42. {
  43. "type" "bool"
  44. }
  45. "$SaveDebuggerPropertiesInProject"
  46. {
  47. "type" "bool"
  48. }
  49. "$AdditionalProjectDependencies"
  50. {
  51. "type" "ignore"
  52. }
  53. "$AdditionalOutputFiles"
  54. {
  55. "type" "ignore"
  56. }
  57. }
  58. //
  59. // GCC Compiler/General
  60. //
  61. "$GCCCompiler"
  62. {
  63. "$AdditionalIncludeDirectories"
  64. {
  65. "type" "string"
  66. }
  67. "$PreprocessorDefinitions"
  68. {
  69. "type" "string"
  70. }
  71. "$ForceIncludes"
  72. {
  73. "type" "string"
  74. }
  75. "$GenerateDebugInformation"
  76. {
  77. "type" "bool"
  78. }
  79. "$Warnings"
  80. {
  81. "ordinals"
  82. {
  83. "Turn Off Warnings (-w)" "0"
  84. "Generate Normal Warnings" "1"
  85. "Generate More Warnings (-Wall)" "2"
  86. }
  87. }
  88. "$ExtraWarnings"
  89. {
  90. "type" "bool"
  91. }
  92. "$WarnLoadHitStores"
  93. {
  94. "type" "bool"
  95. }
  96. "$WarnMicrocodedInstruction"
  97. {
  98. "type" "bool"
  99. }
  100. "$TreatWarningsAsErrors"
  101. {
  102. "type" "bool"
  103. }
  104. "$ObjectFileName"
  105. {
  106. "type" "string"
  107. }
  108. "$CallprofHierarchicalProfiling"
  109. {
  110. "type" "bool"
  111. }
  112. "$SPURSUsage"
  113. {
  114. "ordinals"
  115. {
  116. "Not using SPURS" "0"
  117. "Job with CRT init (-mspurs-job-initialize)" "1"
  118. "Lightweight Job (-mspurs-job)" "2"
  119. "SPURS Task (-mspurs-task)" "3"
  120. }
  121. }
  122. }
  123. //
  124. // GCC Compiler/Optimization
  125. //
  126. "$GCCCompiler"
  127. {
  128. "$OptimizationLevel"
  129. {
  130. "ordinals"
  131. {
  132. "No Optimization (-O0)" "0"
  133. "Standard Optimization (-O1)" "1"
  134. "Full Optimization (-O2)" "2"
  135. "Full with Inlining (-O3)" "3"
  136. "Optimize for Size (-Os)" "4"
  137. }
  138. }
  139. "$FastMath"
  140. {
  141. "type" "bool"
  142. }
  143. "$NoStrictAliasing"
  144. {
  145. "type" "bool"
  146. }
  147. "$UnrollLoops"
  148. {
  149. "type" "bool"
  150. }
  151. "$InlineFunctionSizeLimit"
  152. {
  153. "type" "integer"
  154. }
  155. }
  156. //
  157. // GCC Compiler/Code Generation
  158. //
  159. "$GCCCompiler"
  160. {
  161. "$TOCUsage"
  162. {
  163. "ordinals"
  164. {
  165. "Normal TOC" "0"
  166. "Minimal TOC (-mminimal-toc)" "1"
  167. "Base TOC (-mbase-toc)" "2"
  168. "All Base TOC (-mall-base-toc)" "3"
  169. "No TOC Restore (-mno-toc)" "4"
  170. }
  171. }
  172. "$Save/RestoreFunctions"
  173. {
  174. "alias" "$SaveRestoreFunctions"
  175. "type" "integer"
  176. }
  177. "$GenerateMicrocodedInstructions"
  178. {
  179. "ordinals"
  180. {
  181. "Default (only with -Os)" "0"
  182. "Use when optimizing (-mgen-microcode)" "1"
  183. "Only when unavoidable (-mno-gen-microcode)" "2"
  184. }
  185. }
  186. "$Position-IndependentCode"
  187. {
  188. "alias" "$PositionIndependentCode"
  189. "type" "bool"
  190. }
  191. "$FunctionSections"
  192. {
  193. "type" "bool"
  194. }
  195. "$DataSections"
  196. {
  197. "type" "bool"
  198. }
  199. "$StackCheck"
  200. {
  201. "type" "bool"
  202. }
  203. }
  204. //
  205. // GCC Compiler/Language
  206. //
  207. "$GCCCompiler"
  208. {
  209. "$C++ExceptionsAndRTTIUsage"
  210. {
  211. "alias" "$CPPExceptionsAndRTTIUsage"
  212. "ordinals"
  213. {
  214. "Not using Exceptions or RTTI" "0"
  215. "Using RTTI only" "1"
  216. "Using Exceptions and RTTI" "2"
  217. }
  218. }
  219. "$CheckANSICompliance"
  220. {
  221. "type" "bool"
  222. }
  223. "$DefaultCharSigned"
  224. {
  225. "type" "bool"
  226. }
  227. "$Permissive"
  228. {
  229. "type" "bool"
  230. }
  231. "$EnableMSExtensions"
  232. {
  233. "type" "bool"
  234. }
  235. "$RelaxC++Compliance"
  236. {
  237. "alias" "$RelaxCPPCompliance"
  238. "type" "bool"
  239. }
  240. }
  241. //
  242. // GCC Compiler/Command Line
  243. //
  244. "$GCCCompiler"
  245. {
  246. "$AdditionalOptions"
  247. {
  248. "type" "string"
  249. }
  250. }
  251. "$GCCLinker"
  252. {
  253. // General
  254. "$OutputFile"
  255. {
  256. "type" "string"
  257. }
  258. "$AdditionalDependencies"
  259. {
  260. "type" "string"
  261. }
  262. "$AdditionalLibraryDirectories"
  263. {
  264. "type" "string"
  265. }
  266. "$ImportLibrary"
  267. {
  268. "type" "string"
  269. }
  270. "$SPURSUsage"
  271. {
  272. "ordinals"
  273. {
  274. "Not using SPURS" "0"
  275. "Job with CRT init (-mspurs-job-initialize)" "1"
  276. "Lightweight Job (-mspurs-job)" "2"
  277. "SPURS Task (-mspurs-task)" "3"
  278. }
  279. }
  280. "$Position-IndependentCode"
  281. {
  282. "alias" "$PositionIndependentCode"
  283. "type" "bool"
  284. }
  285. "$EmitRelocations"
  286. {
  287. "type" "bool"
  288. }
  289. "$GarbageCollection"
  290. {
  291. "type" "bool"
  292. }
  293. "$GenerateMapFile"
  294. {
  295. "type" "bool"
  296. }
  297. "$MapFileName"
  298. {
  299. "type" "string"
  300. }
  301. "$LinkLibraryDependencies"
  302. {
  303. "type" "bool"
  304. }
  305. // Command Line
  306. "$AdditionalOptions"
  307. {
  308. "type" "string"
  309. }
  310. }
  311. //
  312. // SNC Compiler/General
  313. //
  314. "$SNCCompiler"
  315. {
  316. "$AdditionalIncludeDirectories"
  317. {
  318. "type" "string"
  319. }
  320. "$PreprocessorDefinitions"
  321. {
  322. "type" "string"
  323. }
  324. "$ForceIncludes"
  325. {
  326. "type" "string"
  327. }
  328. "$ForcedUsingFiles"
  329. {
  330. "type" "string"
  331. }
  332. "$GenerateDebugInformation"
  333. {
  334. "type" "bool"
  335. }
  336. "$Warnings"
  337. {
  338. "ordinals"
  339. {
  340. "Turn Off Warnings (=0)" "0"
  341. "Generate Warnings (=1)" "1"
  342. "Generate Warnings and Remarks (=2)" "2"
  343. }
  344. }
  345. "$TreatMessagesAsErrors"
  346. {
  347. "ordinals"
  348. {
  349. "Reported Errors Only (=0)" "0"
  350. "Warnings as Errors (=1)" "1"
  351. "Warnings and Remarks as Errors (=2)" "2"
  352. }
  353. }
  354. "$DisableSpecificWarnings"
  355. {
  356. "type" "string"
  357. }
  358. "$ObjectFileName"
  359. {
  360. "type" "string"
  361. }
  362. "$CallprofHierarchicalProfiling"
  363. {
  364. "type" "bool"
  365. }
  366. }
  367. //
  368. // SNC Compiler/Optimization
  369. //
  370. "$SNCCompiler"
  371. {
  372. "$OptimizationLevel"
  373. {
  374. "ordinals"
  375. {
  376. "No Optimization, Forced Inlining only (-O0)" "0"
  377. "No Optimization, Auto Inlining (-O1)" "1"
  378. "Full Optimization (-O2)" "2"
  379. "Optimize for Size (-Os)" "3"
  380. "Optimized Debuggable (-Od)" "4"
  381. }
  382. }
  383. "$FastMath"
  384. {
  385. "type" "bool"
  386. }
  387. "$RelaxAliasChecking"
  388. {
  389. "ordinals"
  390. {
  391. "Default" "-1"
  392. "No Strict Aliasing (=0)" "0"
  393. "No Overlapping Types (=1)" "1"
  394. "C99 Strict Aliasing (=2)" "2"
  395. "Strictest Aliasing (=3)" "3"
  396. }
  397. }
  398. "$BranchlessCompares"
  399. {
  400. "ordinals"
  401. {
  402. "Always Use Branches (=0)" "0"
  403. "Convert Ternary Operators (=1)" "1"
  404. "Convert all Integer Comparisons (=2)" "2"
  405. }
  406. }
  407. "$UnrollLoops"
  408. {
  409. "type" "integer"
  410. }
  411. "$AssumeAlignedPointers"
  412. {
  413. "type" "bool"
  414. }
  415. "$AssumeCorrectSign"
  416. {
  417. "type" "bool"
  418. }
  419. }
  420. //
  421. // SNC Compiler/Code Generation
  422. //
  423. "$SNCCompiler"
  424. {
  425. "$TOCPointerPreservation"
  426. {
  427. "ordinals"
  428. {
  429. "Preserve the TOC for all Function Calls (=0)" "0"
  430. "Preserve for Function Calls by Pointer (=1)" "1"
  431. "Assume Single TOC; No TOC Preservation (=2)" "2"
  432. }
  433. }
  434. "$InitializedDataPlacement"
  435. {
  436. "ordinals"
  437. {
  438. "Placement in .data Section Only (=0)" "0"
  439. "Automatic .bss and .data Placement (=1)" "1"
  440. "Uninitialized and Zero Initialized in .bss (=2)" "2"
  441. }
  442. }
  443. "$PromoteFPConstantsToDoubles"
  444. {
  445. "type" "bool"
  446. }
  447. }
  448. //
  449. // SNC Compiler/Language
  450. //
  451. "$SNCCompiler"
  452. {
  453. "$CC++Dialect"
  454. {
  455. "alias" "$CCPPDialect"
  456. "ordinals"
  457. {
  458. "Mixed with GNU Extensions" "0"
  459. "ANSI and ISO C Standard" "1"
  460. "Annotated Reference Manual" "2"
  461. "CP Mode" "3"
  462. "AT&T Cfront" "4"
  463. "Kernighan & Ritchie C" "5"
  464. }
  465. }
  466. "$C++ExceptionsAndRTTIUsage"
  467. {
  468. "alias" "$CPPExceptionsAndRTTIUsage"
  469. "ordinals"
  470. {
  471. "Not using Exceptions or RTTI" "0"
  472. "Using RTTI only" "1"
  473. "Using Exceptions and RTTI" "2"
  474. }
  475. }
  476. "$DefaultCharUnsigned"
  477. {
  478. "type" "bool"
  479. }
  480. "$DefaultFPConstantsAsTypeFloat"
  481. {
  482. "type" "bool"
  483. }
  484. "$BuiltInDefinitionForWCHAR_TType"
  485. {
  486. "ordinals"
  487. {
  488. "unsigned int (=uint)" "0"
  489. "unsigned long (=ulong)" "1"
  490. "unsigned short (=ushort)" "2"
  491. "unsigned char (=uchar)" "3"
  492. "int (=int)" "4"
  493. "long (=long)" "5"
  494. "short (=short)" "6"
  495. "char (=char)" "7"
  496. "signed char (=schar)" "8"
  497. }
  498. }
  499. }
  500. //
  501. // SNC Compiler/Precompiled Headers
  502. //
  503. "$SNCCompiler"
  504. {
  505. "$Create/UsePrecompiledHeader"
  506. {
  507. "alias" "$CreateUsePrecompiledHeader"
  508. "ordinals"
  509. {
  510. "Not Using Precompiled Header File(s)" "0"
  511. "Not Using Precompiled Headers" "0"
  512. "Create Precompiled Header (--create_pch)" "1"
  513. "Automatic Per File Precompiled Headers (--pch)" "2"
  514. "Use Precompiled Header (--use_pch)" "3"
  515. }
  516. }
  517. "$PrecompiledHeaderFile"
  518. {
  519. "type" "string"
  520. }
  521. }
  522. //
  523. // SNC Compiler/Command Line
  524. //
  525. "$SNCCompiler"
  526. {
  527. "$AdditionalOptions"
  528. {
  529. "type" "string"
  530. }
  531. }
  532. "$SNCCompiler"
  533. {
  534. "$EnableC++Exceptions"
  535. {
  536. "type" "ignore"
  537. }
  538. "$Create/UsePCHThroughFile"
  539. {
  540. "type" "ignore"
  541. }
  542. }
  543. "$SNCLinker"
  544. {
  545. // General
  546. "$OutputFile"
  547. {
  548. "type" "string"
  549. }
  550. "$OutputFormat"
  551. {
  552. "ordinals"
  553. {
  554. "ELF file" "0"
  555. "Fake Signed ELF" "1"
  556. "Network FSELF" "2"
  557. "PRX file" "3"
  558. "Fake Signed PRX" "4"
  559. }
  560. }
  561. "$AdditionalDependencies"
  562. {
  563. "type" "string"
  564. }
  565. "$AdditionalLibraryDirectories"
  566. {
  567. "type" "string"
  568. }
  569. "$IgnoreAllDefaultLibraries"
  570. {
  571. "type" "bool"
  572. }
  573. "$UsingExceptionHandling"
  574. {
  575. "type" "bool"
  576. }
  577. "$TOCPointerElimination"
  578. {
  579. "type" "bool"
  580. }
  581. "$ForceSymbolReferences"
  582. {
  583. "type" "string"
  584. }
  585. "$CallprofHierarchicalProfiling"
  586. {
  587. "type" "bool"
  588. }
  589. "$DebugInfoAndSymbolStripping"
  590. {
  591. "ordinals"
  592. {
  593. "No Symbol Stripping" "0"
  594. "Strip Debug Information Only (-S)" "1"
  595. "Strip Symbols and Debug Information (-s)" "2"
  596. }
  597. }
  598. "$UnusedFunctionAndDataStripping"
  599. {
  600. "ordinals"
  601. {
  602. "No Code Stripping" "0"
  603. "Strip Unused Functions Only" "1"
  604. "Strip Unused Functions and Data" "2"
  605. }
  606. }
  607. "$ImportLibrary"
  608. {
  609. "type" "string"
  610. }
  611. "$GenerateMapFile"
  612. {
  613. "ordinals"
  614. {
  615. "No Map File" "0"
  616. "Normal Map File" "1"
  617. "Full Map File" "2"
  618. }
  619. }
  620. "$MapFileName"
  621. {
  622. "type" "string"
  623. }
  624. "$LinkLibraryDependencies"
  625. {
  626. "type" "bool"
  627. }
  628. "$AdditionalOptions"
  629. {
  630. "type" "string"
  631. }
  632. "$SystemLibraries"
  633. {
  634. "type" "ignore"
  635. }
  636. "$SystemFrameworks"
  637. {
  638. "type" "ignore"
  639. }
  640. "$LocalFrameworks"
  641. {
  642. "type" "ignore"
  643. }
  644. }
  645. "$Librarian"
  646. {
  647. "$OutputFile"
  648. {
  649. "type" "string"
  650. }
  651. "$AdditionalDependencies"
  652. {
  653. "type" "string"
  654. }
  655. "$WholeArchive"
  656. {
  657. "type" "bool"
  658. }
  659. "$LinkLibraryDependencies"
  660. {
  661. "type" "bool"
  662. }
  663. }
  664. $CustomBuildStep
  665. {
  666. "$CommandLine"
  667. {
  668. "type" "string"
  669. }
  670. "$Description"
  671. {
  672. "type" "string"
  673. }
  674. "$Outputs"
  675. {
  676. "type" "string"
  677. }
  678. "$AdditionalDependencies"
  679. {
  680. "type" "string"
  681. }
  682. }
  683. $PreBuildEvent
  684. {
  685. "$CommandLine"
  686. {
  687. "type" "string"
  688. }
  689. "$Description"
  690. {
  691. "type" "string"
  692. }
  693. "$ExcludedFromBuild"
  694. {
  695. "type" "bool"
  696. }
  697. }
  698. $PreLinkEvent
  699. {
  700. "$CommandLine"
  701. {
  702. "type" "string"
  703. }
  704. "$Description"
  705. {
  706. "type" "string"
  707. }
  708. "$ExcludedFromBuild"
  709. {
  710. "type" "bool"
  711. }
  712. }
  713. $PostBuildEvent
  714. {
  715. "$CommandLine"
  716. {
  717. "type" "string"
  718. }
  719. "$Description"
  720. {
  721. "type" "string"
  722. }
  723. "$ExcludedFromBuild"
  724. {
  725. "type" "bool"
  726. }
  727. }
  728. }