huangcm
2025-02-24 69ed55dec4b2116a19e4cca4393cbc014fce5fb2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
 
set(RSG_SRCS
   rsgBinaryOps.cpp
   rsgBinaryOps.hpp
   rsgBuiltinFunctions.cpp
   rsgBuiltinFunctions.hpp
   rsgDefs.cpp
   rsgDefs.hpp
   rsgExecutionContext.cpp
   rsgExecutionContext.hpp
   rsgExpression.cpp
   rsgExpression.hpp
   rsgExpressionGenerator.cpp
   rsgExpressionGenerator.hpp
   rsgFunctionGenerator.cpp
   rsgFunctionGenerator.hpp
   rsgGeneratorState.cpp
   rsgGeneratorState.hpp
   rsgNameAllocator.cpp
   rsgNameAllocator.hpp
   rsgParameters.cpp
   rsgParameters.hpp
   rsgPrettyPrinter.cpp
   rsgPrettyPrinter.hpp
   rsgProgramGenerator.cpp
   rsgProgramGenerator.hpp
   rsgSamplers.cpp
   rsgSamplers.hpp
   rsgShader.cpp
   rsgShader.hpp
   rsgProgramExecutor.cpp
   rsgProgramExecutor.hpp
   rsgShaderGenerator.cpp
   rsgShaderGenerator.hpp
   rsgStatement.cpp
   rsgStatement.hpp
   rsgToken.cpp
   rsgToken.hpp
   rsgUtils.cpp
   rsgUtils.hpp
   rsgVariable.cpp
   rsgVariable.hpp
   rsgVariableManager.cpp
   rsgVariableManager.hpp
   rsgVariableType.cpp
   rsgVariableType.hpp
   rsgVariableValue.cpp
   rsgVariableValue.hpp
   )
 
PCH(RSG_SRCS ../pch.cpp)
 
add_library(randomshaders STATIC ${RSG_SRCS})
target_link_libraries(randomshaders tcutil)
 
if (DE_OS_IS_WIN32 OR DE_OS_IS_UNIX OR DE_OS_IS_OSX)
   add_executable(rsgtest rsgTest.cpp)
   target_link_libraries(rsgtest tcutil-platform randomshaders)
endif ()