Add a SCons tool for nanopb protos.
This tool script is useful both for building the tests and also for use in other applications.
This commit is contained in:
@@ -14,7 +14,7 @@ scons CC=clang CXX=clang++
|
||||
''')
|
||||
|
||||
import os
|
||||
env = Environment(ENV = os.environ)
|
||||
env = Environment(ENV = os.environ, tools = ['default', 'nanopb'])
|
||||
|
||||
# Allow overriding the compiler with scons CC=???
|
||||
if 'CC' in ARGUMENTS: env.Replace(CC = ARGUMENTS['CC'])
|
||||
|
||||
Reference in New Issue
Block a user