File: SConstruct

package info (click to toggle)
cxxtest 4.4-2.1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 2,804 kB
  • sloc: python: 9,525; cpp: 9,399; xml: 435; sh: 258; ruby: 229; makefile: 86; ansic: 68; perl: 16
file content (12 lines) | stat: -rw-r--r-- 426 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
flags = '-pedantic-errors -Weffc++ -Wall -Wextra -ansi'
env = Environment(
    toolpath=['../../'],
    tools=['default','cxxtest'],
    CCFLAGS=flags,
    CXXFLAGS=flags,
    CXXTEST_CXXFLAGS_REMOVE=['-pedantic-errors','-Weffc++','-Wextra','-Wall','-W'],
    CXXTEST_CCFLAGS_REMOVE=['-pedantic-errors','-Weffc++','-Wextra','-Wall','-W']
    )

env.CxxTest(['src/not-with-pedantic.h'])
env.CxxTest(['src/only_with_ansi.t.h'])