build: Use "C++" instead of "CXX" for building

I don't like the look of "CXX" as much.

Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
This commit is contained in:
Bryan Schumaker 2012-05-27 23:25:14 -04:00
parent d6dff5290f
commit de5cdc1cbc
2 changed files with 2 additions and 6 deletions

View File

@ -22,7 +22,7 @@ if DEBUG == True:
env = Environment(CCFLAGS = FLAGS)
if ARGUMENTS.get('VERBOSE') != "1":
env.Append(CXXCOMSTR = "CXX $TARGET")
env.Append(CXXCOMSTR = "C++ $TARGET")
env.Append(LINKCOMSTR = "Linking $TARGET")
env.Append(CPPPATH = "include")
@ -37,7 +37,6 @@ def directory(dirs):
return objs
def symlink(target, source, env):
import os
os.symlink(str(source[0]), str(target[0]))
SConscript(['include/Sconscript'])
@ -61,7 +60,6 @@ Clean(ocarina, ["include/version.h"])
# Create a tarball
def git_archive(target, source, env):
import os
version = "%s.%s" % (MAJOR, MINOR)
if BUG != 0:
version += ".%s" % BUG

View File

@ -1,6 +1,5 @@
#!/usr/bin/python
import os
import re
import os, re
Import( "env", "DEBUG" )
bin = os.path.abspath("../bin/%s")
@ -27,7 +26,6 @@ for file in os.listdir("."):
continue
dst = (bin % file).replace("%APP", "ocarina")
print dst
files.append(env.Command(dst, file, create_script))
Return('files')