Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-09 07:49:48

0001 #!/bin/bash -l 
0002 
0003 ssys__Desc()
0004 {
0005    local var 
0006    for v in $* ; do 
0007 cat << EOF
0008 #ifdef $v
0009        << "$v"
0010 #else
0011        << "NOT:$v"
0012 #endif
0013        << std::endl 
0014 EOF
0015    done
0016 }
0017 
0018 cat << EOH
0019 /**
0020 ssys::Desc
0021 -------------
0022 
0023 Generated with::
0024 
0025    ~/opticks/sysrap/ssys__Desc.sh 
0026    ~/opticks/sysrap/ssys__Desc.sh | pbcopy 
0027 
0028 Dump flags with::
0029 
0030     ssys_test
0031     QSimDescTest
0032 
0033 **/
0034 inline std::string ssys::Desc()  // static
0035 {
0036     std::stringstream ss ; 
0037     ss << "ssys::Desc"
0038        << std::endl 
0039 EOH
0040 # keep tag order the same as ../qudarap/QSim__Desc.sh
0041 ssys__Desc $(cat << EOB
0042 CONFIG_Debug
0043 CONFIG_Release
0044 CONFIG_RelWithDebInfo
0045 CONFIG_MinSizeRel
0046 PRODUCTION
0047 WITH_CHILD
0048 WITH_CUSTOM4
0049 PLOG_LOCAL
0050 DEBUG_PIDX
0051 DEBUG_TAG
0052 EOB
0053 )
0054 
0055 cat << EOT
0056        ;
0057     std::string str = ss.str() ; 
0058     return str ;  
0059 }
0060 EOT
0061