Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: nocide on March 31, 2010, 11:34:06 pm

Title: Get OS info in Squirrel-script
Post by: nocide on March 31, 2010, 11:34:06 pm
The debugger settings are adjusted in the common_function.scripts
But I have to set different debug settings on different OS with the same compiler. (D-compiler)
(cause not all plattforms have the required debugger, so we need another flag to
make a workaround)

Is it possible to get the running OS in a script?
Or have someone another idea?
Title: Re: Get OS info in Squirrel-script
Post by: oBFusCATed on April 01, 2010, 12:30:24 am
http://wiki.codeblocks.org/index.php?title=Scripting_commands#Global_functions ... search for PLATFORM
Title: Re: Get OS info in Squirrel-script
Post by: nocide on April 01, 2010, 12:45:35 am
Oh thanks, looks great!