# SConstruct
import os

env = Environment()

conan = SConscript("SConscript_conan")
if not conan:
    print("File `SConscript_conan` is missing.")
    print("It should be generated by running `conan install`.")
    sys.exit(1)

flags = conan["conan"]
env.MergeFlags(flags)

print("CC is: {}".format(env.subst('$CC')))

test_package = env.Program(["test_package.c"])
