File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -112,18 +112,28 @@ def get_cmake_args():
112112
113113 if (os .getenv ('DEBUG' , '0' ) in ('1' , 'ON' )):
114114 cfg = 'Debug'
115+ elif (os .getenv ('RELEASE' , '0' ) in ('1' , 'ON' )):
116+ cfg = 'Release'
115117 elif (os .getenv ('RELWITHDEBINFO' , '0' ) in ('1' , 'ON' )):
116118 cfg = 'RelWithDebInfo'
117119 elif (os .getenv ('MINSIZEREL' , '0' ) in ('1' , 'ON' )):
118120 cfg = 'MinSizeRel'
119121 else :
120122 cfg = None
123+
121124 build_options = []
122125 if cfg :
123126 build_options .extend (['--build-type' , cfg ])
124127 if sys .platform == 'win32' :
125128 build_options .extend (['-G' , 'Ninja' , '--skip-generator-test' ])
126129 sys .argv [2 :2 ] = build_options
130+ print ("=================[start]===========" )
131+ print ("=================[]===========" )
132+ print ("=================[]===========" )
133+ print (sys .argv )
134+ print ("=================[]===========" )
135+ print (build_options )
136+ print ("=================[end]===========" )
127137
128138 cmake_args += [
129139 f'-DTI_VERSION_MAJOR={ TI_VERSION_MAJOR } ' ,
You can’t perform that action at this time.
0 commit comments