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