build flags, clang/gcc

This commit is contained in:
marketideas 2019-11-15 04:23:55 -08:00
parent a088831a6a
commit f4231bc7a5
3 changed files with 8 additions and 3 deletions

View File

@ -3,7 +3,7 @@ set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/")
project(QAsm)
set(CMAKE_BUILD_TYPE RELEASE)
set(CMAKE_BUILD_TYPE DEBUG)
set(APPVERSION "4.0.9")
set(LIBRARY_NAME pal)
set(FIND_LIBRARY_USE_LIB64_PATHS TRUE)

View File

@ -6,10 +6,13 @@
#define NO_SIGNAL_HANDLING
//#define SERVERAPP
//#define ENABLE_SSL
#define USE_LOGGER
//#define USE_LOGGER
//#define USE_NET
#define USE_SSL
//#define USE_SSL
//#define USE_JSON
//#define USE_XML
// help text
#define HELP_USAGE "<options> <list of files>"

View File

@ -12,7 +12,9 @@ PAL_BASEAPP *PAL::appFactory(void)
// you MUST supply this array 'appOptions'. NULL line and end.
programOption PAL::appOptions[] =
{
#ifdef DEBUG
{ "debug", "d", "enable debug info (repeat for more verbosity)", "", false, true},
#endif
//{ "config", "f", "load configuration data from a <file>", " <file>", false, false},
{ "exec", "x", "execute a command [asm, link, reformat] default=asm", " <command>", false, false},
{ "", "", "", "", false, false}