Target.pri 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. # -------------------------------------------------------------------
  2. # Target file for the ANGLE static library
  3. #
  4. # See 'Tools/qmake/README' for an overview of the build system
  5. # -------------------------------------------------------------------
  6. TEMPLATE = lib
  7. TARGET = ANGLE
  8. include(ANGLE.pri)
  9. CONFIG += staticlib
  10. INCLUDEPATH += \
  11. $$SOURCE_DIR/src \
  12. $$SOURCE_DIR/src/compiler/preprocessor \
  13. $$SOURCE_DIR/include
  14. HEADERS += \
  15. src/compiler/BaseTypes.h \
  16. src/compiler/BuiltInFunctionEmulator.h \
  17. src/compiler/Common.h \
  18. src/compiler/ConstantUnion.h \
  19. src/compiler/debug.h \
  20. src/compiler/depgraph/DependencyGraph.h \
  21. src/compiler/depgraph/DependencyGraphBuilder.h \
  22. src/compiler/depgraph/DependencyGraphOutput.h \
  23. src/compiler/DetectDiscontinuity.h \
  24. src/compiler/DetectRecursion.h \
  25. src/compiler/Diagnostics.h \
  26. src/compiler/DirectiveHandler.h \
  27. src/compiler/ExtensionBehavior.h \
  28. src/compiler/ForLoopUnroll.h \
  29. src/compiler/glslang.h \
  30. src/compiler/HashNames.h \
  31. src/compiler/InfoSink.h \
  32. src/compiler/InitializeDll.h \
  33. src/compiler/InitializeGlobals.h \
  34. src/compiler/Initialize.h \
  35. src/compiler/InitializeParseContext.h \
  36. src/compiler/intermediate.h \
  37. src/compiler/localintermediate.h \
  38. src/compiler/MMap.h \
  39. src/compiler/MapLongVariableNames.h \
  40. src/compiler/osinclude.h \
  41. src/compiler/Pragma.h \
  42. src/compiler/preprocessor/DiagnosticsBase.h \
  43. src/compiler/preprocessor/DirectiveHandlerBase.h \
  44. src/compiler/preprocessor/DirectiveParser.h \
  45. src/compiler/preprocessor/Input.h \
  46. src/compiler/preprocessor/length_limits.h \
  47. src/compiler/preprocessor/Lexer.h \
  48. src/compiler/preprocessor/Macro.h \
  49. src/compiler/preprocessor/MacroExpander.h \
  50. src/compiler/preprocessor/numeric_lex.h \
  51. src/compiler/preprocessor/Preprocessor.h \
  52. src/compiler/preprocessor/SourceLocation.h \
  53. src/compiler/preprocessor/Token.h \
  54. src/compiler/preprocessor/Tokenizer.h \
  55. src/compiler/OutputESSL.h \
  56. src/compiler/OutputGLSL.h \
  57. src/compiler/OutputGLSLBase.h \
  58. src/compiler/OutputHLSL.h \
  59. src/compiler/ParseHelper.h \
  60. src/compiler/PoolAlloc.h \
  61. src/compiler/QualifierAlive.h \
  62. src/compiler/RemoveTree.h \
  63. src/compiler/RenameFunction.h \
  64. src/compiler/SearchSymbol.h \
  65. src/compiler/ShHandle.h \
  66. src/compiler/SymbolTable.h \
  67. src/compiler/timing/RestrictFragmentShaderTiming.h \
  68. src/compiler/timing/RestrictVertexShaderTiming.h \
  69. src/compiler/TranslatorESSL.h \
  70. src/compiler/TranslatorGLSL.h \
  71. src/compiler/TranslatorHLSL.h \
  72. src/compiler/Types.h \
  73. src/compiler/UnfoldShortCircuit.h \
  74. src/compiler/util.h \
  75. src/compiler/ValidateLimitations.h \
  76. src/compiler/VariableInfo.h \
  77. src/compiler/VariablePacker.h \
  78. src/compiler/VersionGLSL.h \
  79. src/third_party/compiler/ArrayBoundsClamper.h
  80. SOURCES += \
  81. src/compiler/BuiltInFunctionEmulator.cpp \
  82. src/compiler/CodeGenGLSL.cpp \
  83. src/compiler/Compiler.cpp \
  84. src/compiler/debug.cpp \
  85. src/compiler/depgraph/DependencyGraph.cpp \
  86. src/compiler/depgraph/DependencyGraphBuilder.cpp \
  87. src/compiler/depgraph/DependencyGraphOutput.cpp \
  88. src/compiler/depgraph/DependencyGraphTraverse.cpp \
  89. src/compiler/DetectDiscontinuity.cpp \
  90. src/compiler/DetectRecursion.cpp \
  91. src/compiler/Diagnostics.cpp \
  92. src/compiler/DirectiveHandler.cpp \
  93. src/compiler/ForLoopUnroll.cpp \
  94. src/compiler/InfoSink.cpp \
  95. src/compiler/Initialize.cpp \
  96. src/compiler/InitializeDll.cpp \
  97. src/compiler/InitializeParseContext.cpp \
  98. src/compiler/Intermediate.cpp \
  99. src/compiler/intermOut.cpp \
  100. src/compiler/IntermTraverse.cpp \
  101. src/compiler/MapLongVariableNames.cpp \
  102. src/compiler/OutputESSL.cpp \
  103. src/compiler/OutputGLSL.cpp \
  104. src/compiler/OutputGLSLBase.cpp \
  105. src/compiler/OutputHLSL.cpp \
  106. src/compiler/parseConst.cpp \
  107. src/compiler/ParseHelper.cpp \
  108. src/compiler/PoolAlloc.cpp \
  109. src/compiler/QualifierAlive.cpp \
  110. src/compiler/RemoveTree.cpp \
  111. src/compiler/SearchSymbol.cpp \
  112. src/compiler/ShaderLang.cpp \
  113. src/compiler/SymbolTable.cpp \
  114. src/compiler/timing/RestrictFragmentShaderTiming.cpp \
  115. src/compiler/timing/RestrictVertexShaderTiming.cpp \
  116. src/compiler/TranslatorESSL.cpp \
  117. src/compiler/TranslatorGLSL.cpp \
  118. src/compiler/TranslatorHLSL.cpp \
  119. src/compiler/UnfoldShortCircuit.cpp \
  120. src/compiler/util.cpp \
  121. src/compiler/ValidateLimitations.cpp \
  122. src/compiler/VariableInfo.cpp \
  123. src/compiler/VariablePacker.cpp \
  124. src/compiler/VersionGLSL.cpp \
  125. src/compiler/preprocessor/DiagnosticsBase.cpp \
  126. src/compiler/preprocessor/DirectiveHandlerBase.cpp \
  127. src/compiler/preprocessor/DirectiveParser.cpp \
  128. src/compiler/preprocessor/Input.cpp \
  129. src/compiler/preprocessor/Lexer.cpp \
  130. src/compiler/preprocessor/Macro.cpp \
  131. src/compiler/preprocessor/MacroExpander.cpp \
  132. src/compiler/preprocessor/Preprocessor.cpp \
  133. src/compiler/preprocessor/Token.cpp \
  134. src/third_party/compiler/ArrayBoundsClamper.cpp
  135. win32: SOURCES += src/compiler/ossource_win.cpp
  136. else: SOURCES += src/compiler/ossource_posix.cpp
  137. # Make sure the derived sources are built
  138. include(DerivedSources.pri)
  139. *g++* {
  140. QMAKE_CXXFLAGS += -Wno-unused-variable -Wno-missing-noreturn -Wno-unused-function -Wno-reorder -Wno-error -Wno-unknown-pragmas -Wno-undef
  141. }
  142. # We do not need anything from Qt
  143. QT =