Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » What flag for conditional compile to GUI or CLI
Re: What flag for conditional compile to GUI or CLI [message #49859 is a reply to message #49857] Mon, 21 May 2018 19:17 Go to previous messageGo to previous message
omari is currently offline  omari
Messages: 276
Registered: March 2010
Experienced Member
Each flag name is prefixed with "flag" e.g. flagGUI, flagDEBUG. Hence you can test for these in source code with #ifdef or #if defined(flagNAME).
example :
#ifdef flagGUI
#include <CtrlLib/CtrlLib.h>
#endif


regards
omari.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Promising results from CLANG/LLVM 6.0.0 on Windows
Next Topic: I can't to build exe-file from default package.
Goto Forum:
  


Current Time: Sat Jun 28 06:14:57 CEST 2025

Total time taken to generate the page: 0.04214 seconds