File: SConstruct

package info (click to toggle)
0ad 0.0.21-2~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 54,068 kB
  • sloc: cpp: 230,527; ansic: 23,115; python: 13,559; perl: 2,499; sh: 948; xml: 776; makefile: 696; java: 533; ruby: 229; erlang: 53; sql: 21
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'])