build_tools/SCons/test/include_CXXFLAGS/SConstruct
raw| 1 | flags = '-Weffc++ -Wall -Wextra -std=gnu++0x' |
| 2 | env = Environment( |
| 3 | toolpath=['../../'], |
| 4 | tools=['default','cxxtest'], |
| 5 | CCFLAGS = Split(flags) + ['-pedantic-errors'], |
| 6 | CXXFLAGS = Split(flags) + ['-pedantic-errors'] |
| 7 | ) |
| 8 | |
| 9 | env['CXXTEST_CXXFLAGS_REMOVE']=['-Weffc++','-Wextra','-Wall','-W'] |
| 10 | env['CXXTEST_CCFLAGS_REMOVE']='-Weffc++ -Wextra -Wall -W' |
| 11 | env['CCFLAGS'] = flags |
| 12 | env['CXXFLAGS'] = flags |
| 13 | env['CXXTEST_SKIP_ERRORS'] = True |
| 14 | |
| 15 | env.CxxTest(['src/not-with-pedantic.h']) |
| 16 |