Esempio n. 1
0
# Set the name for the final output item
FINAL_OUTPUT_NAME = 'b.exe'

# Link unittest directory by object module so that Catch's self-registration mechanism 'works'
unit_test_objects = '_BUILT_DIR_.src/Cpl/Text/Frame/_0test'

#
# For build config/variant: "Release"
#

# Set project specific 'base' (i.e always used) options
base_release = BuildValues()  # Do NOT comment out this line
base_release.cflags = '-m32 -std=c++11 -Wall -Werror -x c++  -fprofile-arcs -ftest-coverage -DCATCH_CONFIG_FAST_COMPILE'
base_release.linkflags = '-m32 -fprofile-arcs'
base_release.linklibs = '-lgcov'
base_release.firstobjs = unit_test_objects

# Set project specific 'optimized' options
optimzed_release = BuildValues()  # Do NOT comment out this line
optimzed_release.cflags = '-O3'
optimzed_release.linklibs = '-lstdc++'

# Set project specific 'debug' options
debug_release = BuildValues()  # Do NOT comment out this line
debug_release.linklibs = '-lstdc++'

#
# For build config/variant: "cpp11"
# (note: uses same internal toolchain options as the 'Release' variant,
#        only the 'User' options will/are different)
Esempio n. 2
0
# Set the name for the final output item

FINAL_OUTPUT_NAME = 'a.out'
# Link unittest directory by object module so that Catch's self-registration mechanism 'works'
unit_test_objects = '_BUILT_DIR_.src/Cpl/Dm/Mp/_0test'

#
# For build config/variant: "Release" (aka posix build variant)
#

# Set project specific 'base' (i.e always used) options
base_release = BuildValues()  # Do NOT comment out this line
base_release.cflags = '-m32 -std=c++11 -Wall -Werror -x c++ -fprofile-arcs -ftest-coverage -DCATCH_CONFIG_FAST_COMPILE'
base_release.linkflags = '-m32 -fprofile-arcs'
base_release.linklibs = '-lgcov -lpthread -lm'
base_release.firstobjs = unit_test_objects

# Set project specific 'optimized' options
optimzed_release = BuildValues()  # Do NOT comment out this line
optimzed_release.cflags = '-O3'
optimzed_release.linklibs = '-lstdc++'

# Set project specific 'debug' options
debug_release = BuildValues()  # Do NOT comment out this line
debug_release.linklibs = '-lstdc++'

#
# For build config/variant: "cpp11"
# (note: uses same internal toolchain options as the 'Release' variant,
#        only the 'User' options will/are different)
Esempio n. 3
0
# Link unittest directory by object module so that Catch's self-registration mechanism 'works'
unit_test_objects = '_BUILT_DIR_.src/Cpl/Container/_0test'

#
# For build config/variant: "Release"
#

# Set project specific 'base' (i.e always used) options
base_release = BuildValues()  # Do NOT comment out this line
base_release.cflags = '/W3 /WX /EHsc /D CATCH_CONFIG_FAST_COMPILE'  # /EHsc enables exceptions
base_release.firstobjs = unit_test_objects

# Set project specific 'optimized' options
optimzed_release = BuildValues()  # Do NOT comment out this line
optimzed_release.cflags = '/O2'
optimzed_release.linklibs = ''

# Set project specific 'debug' options
debug_release = BuildValues()  # Do NOT comment out this line
debug_release.cflags = '/D "_MY_APP_DEBUG_SWITCH_"'
debug_release.linklibs = ''

#
# For build config/variant: "cpp11"
# (note: uses same internal toolchain options as the 'Release' variant,
#        only the 'User' options will/are different)
#

# Construct option structs
base_cpp11 = BuildValues()
optimzed_cpp11 = BuildValues()
Esempio n. 4
0
#===================================================
# BEGIN EDITS/CUSTOMIZATIONS
#---------------------------------------------------

# Set the name for the final output item
FINAL_OUTPUT_NAME = 'bb.exe'

#
# For build config/variant: "Release" (aka C++11 threading)
#

# Set project specific 'base' (i.e always used) options
base_release = BuildValues()  # Do NOT comment out this line
base_release.cflags = '/W3 /WX /EHsc'  # /EHsc enables exceptions
base_release.linklibs = 'ws2_32.lib'

# Set project specific 'optimized' options
optimzed_release = BuildValues()  # Do NOT comment out this line
optimzed_release.cflags = '/O2'

# Set project specific 'debug' options
debug_release = BuildValues()  # Do NOT comment out this line
debug_release.cflags = '/D "_MY_APP_DEBUG_SWITCH_"'

#
# For build config/variant: "cpp11"
# (note: uses same internal toolchain options as the 'Release' variant,
#        only the 'User' options will/are different)
#
Esempio n. 5
0
#===================================================
# BEGIN EDITS/CUSTOMIZATIONS
#---------------------------------------------------

# Set the name for the final output item
FINAL_OUTPUT_NAME = 'a.exe'

# Link unittest directory by object module so that Catch's self-registration mechanism 'works'
unit_test_objects = '_BUILT_DIR_.src/Storm/Utils/_0test'

# Set project specific 'base' (i.e always used) options
base_release = BuildValues()  # Do NOT comment out this line
base_release.cflags = '-m32 -std=c++11 -Wall -Werror -x c++  -fprofile-arcs -ftest-coverage -D__STDC_CONSTANT_MACROS=1 -D__STDC_LIMIT_MACROS=1'
base_release.linkflags = '-m32 -fprofile-arcs'
base_release.linklibs = '-lgcov'
base_release.firstobjs = unit_test_objects

# Set project specific 'optimized' options
optimzed_release = BuildValues()  # Do NOT comment out this line
optimzed_release.cflags = '-O3'
optimzed_release.linklibs = ''
optimzed_release.linklibs += ' -lstdc++'

# Set project specific 'debug' options
debug_release = BuildValues()  # Do NOT comment out this line
debug_release.linklibs = ''
debug_release.linklibs += ' -lstdc++'

#
# For build config/variant: "cpp11"
Esempio n. 6
0
#===================================================
# BEGIN EDITS/CUSTOMIZATIONS
#---------------------------------------------------

# Set the name for the final output item
FINAL_OUTPUT_NAME = 'bb.out'

#
# For build config/variant: "Release" (aka posix build variant)
#

# Set project specific 'base' (i.e always used) options
base_release = BuildValues()  # Do NOT comment out this line
base_release.cflags = '-m32 -std=c++11 -Wall -Werror -x c++ -fprofile-arcs -ftest-coverage'
base_release.linkflags = '-m32 -fprofile-arcs'
base_release.linklibs = '-lgcov -lpthread -lm'

# Set project specific 'optimized' options
optimzed_release = BuildValues()  # Do NOT comment out this line
optimzed_release.cflags = '-O3'

# Set project specific 'debug' options
debug_release = BuildValues()  # Do NOT comment out this line
#debug_release.cflags = '-D_MY_APP_DEBUG_SWITCH_'

#
# For build config/variant: "cpp11"
# (note: uses same internal toolchain options as the 'Release' variant,
#        only the 'User' options will/are different)
#
Esempio n. 7
0
#===================================================
# BEGIN EDITS/CUSTOMIZATIONS
#---------------------------------------------------

# Set the name for the final output item
FINAL_OUTPUT_NAME = 'b.out'

#
# For build config/variant: "Release" (aka posix build variant)
#

# Set project specific 'base' (i.e always used) options
base_release = BuildValues()  # Do NOT comment out this line
base_release.cflags = '-m32 -std=c++11 -Wall -Werror -x c++ -fprofile-arcs -ftest-coverage'
base_release.linkflags = '-m32 -fprofile-arcs'
base_release.linklibs = '-lpthread'

# Set project specific 'optimized' options
optimzed_release = BuildValues()  # Do NOT comment out this line
optimzed_release.cflags = '-O3'

# Set project specific 'debug' options
debug_release = BuildValues()  # Do NOT comment out this line
#debug_release.cflags = '-D_MY_APP_DEBUG_SWITCH_'

#
# For build config/variant: "posix64" (same as release, except 64bit target)
# (note: uses same internal toolchain options as the 'Release' variant,
#        only the 'User' options will/are different)
#
Esempio n. 8
0
#===================================================
# BEGIN EDITS/CUSTOMIZATIONS
#---------------------------------------------------

# Set the name for the final output item
FINAL_OUTPUT_NAME = 'b.exe'

#
# For build config/variant: "Release"
#

# Set project specific 'base' (i.e always used) options
base_release = BuildValues()  # Do NOT comment out this line
base_release.cflags = '-m32 -std=c++03 -Wall -Werror -x c++ -Wl,-static-libgcc -Wl,-static-libstdc++ -fprofile-arcs -ftest-coverage'
base_release.linkflags = '-m32 -fprofile-arcs'
base_release.linklibs = '-lgcov'

# Set project specific 'optimzed' options
optimzed_release = BuildValues()  # Do NOT comment out this line
optimzed_release.cflags = '-O3'

# Set project specific 'debug' options
debug_release = BuildValues()  # Do NOT comment out this line
#debug_release.cflags = '-D_MY_APP_DEBUG_SWITCH_'

#
# For build config/variant: "cpp11"
# (note: uses same internal toolchain options as the 'Release' variant,
#        only the 'User' options will/are different)
#
Esempio n. 9
0
#---------------------------------------------------

# Set the name for the final output item
FINAL_OUTPUT_NAME = 'aa.exe'

# Link unittest directory by object module so that Catch's self-registration mechanism 'works'
unit_test_objects = '_BUILT_DIR_.src/Cpl/Io/Socket/_0test'

#
# For build config/variant: "Release" 
#

# Set project specific 'base' (i.e always used) options
base_release           = BuildValues()        # Do NOT comment out this line
base_release.cflags    = '/W3 /WX /EHsc /D CATCH_CONFIG_FAST_COMPILE'  # /EHsc enables exceptions
base_release.linklibs  = 'ws2_32.lib' 
base_release.firstobjs = unit_test_objects


# Set project specific 'optimized' options
optimzed_release          = BuildValues()    # Do NOT comment out this line
optimzed_release.cflags   = '/O2'
optimzed_release.linklibs = ''

# Set project specific 'debug' options
debug_release          = BuildValues()       # Do NOT comment out this line
debug_release.cflags   = '/D "_MY_APP_DEBUG_SWITCH_"'
debug_release.linklibs = ''

#
# For build config/variant: "cpp11"
Esempio n. 10
0
# Set the name for the final output item
FINAL_OUTPUT_NAME = 'aa.exe'

# Link unittest directory by object module so that Catch's self-registration mechanism 'works'
unit_test_objects = '_BUILT_DIR_.src/Cpl/Io/Socket/_0test'

#
# For build config/variant: "Release"
#

# Set project specific 'base' (i.e always used) options
base_release           = BuildValues()        # Do NOT comment out this line
base_release.cflags    = '-m32 -std=c++11 -Wall -Werror -x c++  -fprofile-arcs -ftest-coverage -DCATCH_CONFIG_FAST_COMPILE'
base_release.linkflags = '-m32 -fprofile-arcs'
base_release.linklibs  = '-lgcov -lws2_32'
base_release.firstobjs = unit_test_objects

# Set project specific 'optimized' options
optimzed_release           = BuildValues()    # Do NOT comment out this line
optimzed_release.cflags    = '-O3'
optimzed_release.linklibs  = '-lstdc++'

# Set project specific 'debug' options
debug_release           = BuildValues()       # Do NOT comment out this line
debug_release.linklibs  = '-lstdc++'



# 
# For build config/variant: "cpp11"
Esempio n. 11
0
# get definition of the Options structure
from nqbplib.base import BuildValues

#===================================================
# BEGIN EDITS/CUSTOMIZATIONS
#---------------------------------------------------

# Set the name for the final output item
FINAL_OUTPUT_NAME = 'c.exe'

# Set project specific 'base' (i.e always used) options
base_release = BuildValues()  # Do NOT comment out this line
base_release.cflags = '-m32 -std=c++11 -Wall -Werror -x c++  -fprofile-arcs -ftest-coverage'
base_release.linkflags = '-m32 -fprofile-arcs'
base_release.linklibs = '-lgcov'

# Set project specific 'optimized' options
optimzed_release = BuildValues()  # Do NOT comment out this line
optimzed_release.cflags = '-O3'

# Set project specific 'debug' options
debug_release = BuildValues()  # Do NOT comment out this line
#debug_release.cflags = '-D_MY_APP_DEBUG_SWITCH_'

#
# For build config/variant: "cpp11"
# (note: uses same internal toolchain options as the 'Release' variant,
#        only the 'User' options will/are different)
#
Esempio n. 12
0
# Link unittest directory by object module so that Catch's self-registration mechanism 'works'
unit_test_objects = '_BUILT_DIR_.src/Cpl/Dm/_0test _BUILT_DIR_.src/Cpl/Dm/_0test/_baremetal'

#
# For build config/variant: "Release"
#

# Set project specific 'base' (i.e always used) options
base_release = BuildValues()  # Do NOT comment out this line
base_release.cflags = '/W3 /WX /EHsc /D CATCH_CONFIG_FAST_COMPILE'  # /EHsc enables exceptions
base_release.firstobjs = unit_test_objects

# Set project specific 'optimized' options
optimzed_release = BuildValues()  # Do NOT comment out this line
optimzed_release.cflags = '/O2'
optimzed_release.linklibs = ''

# Set project specific 'debug' options
debug_release = BuildValues()  # Do NOT comment out this line
debug_release.cflags = '/D "_MY_APP_DEBUG_SWITCH_"'
debug_release.linklibs = ''

#-------------------------------------------------
# ONLY edit this section if you are ADDING options
# for build configurations/variants OTHER than the
# 'release' build
#-------------------------------------------------

release_opts = {
    'user_base': base_release,
    'user_optimized': optimzed_release,
Esempio n. 13
0
from nqbplib.base import BuildValues


#===================================================
# BEGIN EDITS/CUSTOMIZATIONS
#---------------------------------------------------

# Set the name for the final output item
FINAL_OUTPUT_NAME = 'bb.exe'


# Set project specific 'base' (i.e always used) options
base_release = BuildValues()        # Do NOT comment out this line
base_release.cflags    = '-m32 -std=c++11 -Wall -Werror -x c++ '
base_release.linkflags = '-m32'
base_release.linklibs  = '-lws2_32'

# Set project specific 'optimized' options
optimzed_release = BuildValues()    # Do NOT comment out this line
optimzed_release.cflags = '-O3'

# Set project specific 'debug' options
debug_release = BuildValues()       # Do NOT comment out this line
#debug_release.cflags = '-D_MY_APP_DEBUG_SWITCH_'



# 
# For build config/variant: "cpp11"
# (note: uses same internal toolchain options as the 'Release' variant, 
#        only the 'User' options will/are different)
Esempio n. 14
0
from nqbplib.my_globals import NQBP_WORK_ROOT


#===================================================
# BEGIN EDITS/CUSTOMIZATIONS
#---------------------------------------------------

# Set the name for the final output item
FINAL_OUTPUT_NAME = 'thermostat-simulation.exe'


# Set project specific 'base' (i.e always used) options
base_release           = BuildValues()        # Do NOT comment out this line
base_release.cflags    = '-m32 -std=c++11 -Wall -Werror -x c++  -D__STDC_CONSTANT_MACROS=1 -D__STDC_LIMIT_MACROS=1'
base_release.linkflags = '-m32'
base_release.linklibs  = '-lws2_32'

# Set project specific 'optimized' options
optimzed_release           = BuildValues()    # Do NOT comment out this line
optimzed_release.cflags    = '-O3'
optimzed_release.linklibs  = ''
optimzed_release.linklibs += ' -lstdc++'

# Set project specific 'debug' options
debug_release = BuildValues()       # Do NOT comment out this line
debug_release.linklibs  = ''
debug_release.linklibs += ' -lstdc++'