release = ARGUMENTS.get ('release', 0)
# Environment
-env = Environment ()
+
+# Using clang, uncomment following:
+env = Environment(CXX = 'clang++')
+env.Append (CCFLAGS = '-DIS_CLANG')
+env.Append (CXXFLAGS = '-Wno-parentheses-equality')
+
+# Using c++, uncomment following:
+#env = Environment ()
+
#oracle_includes = os.environ["ORACLE_HOME"] + "/include"
oracle_includes = "/usr/lib/oracle/12.1/client64/include"
env.Append (VARIANT = variant)
else:
variant='debug'
- env.Append (CCFLAGS = '-g -O0 -D_DEBUG')
+ env.Append (CCFLAGS = '-g -O0')
env.Append (LIBPATH = os.path.join (current_directory, variant))
env.Append (VARIANT = variant)