diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-02-24 10:03:19 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-02-24 10:03:19 +0200 |
commit | 564700ab7c96b671b0c08a37e9a0e50f4b2fc176 (patch) | |
tree | dd698330f5b455597998e84972b96a7d15b5a53d /qt/mssql | |
parent | 50b4de07844ca2a5781d7845115d7bd9e7c8f003 (diff) |
C++11 support (pass --std ODB compiler option in build makefiles)
Diffstat (limited to 'qt/mssql')
-rw-r--r-- | qt/mssql/basic/makefile | 5 | ||||
-rw-r--r-- | qt/mssql/date-time/makefile | 5 | ||||
-rw-r--r-- | qt/mssql/template/makefile | 5 |
3 files changed, 15 insertions, 0 deletions
diff --git a/qt/mssql/basic/makefile b/qt/mssql/basic/makefile index 34a326b..ba1443d 100644 --- a/qt/mssql/basic/makefile +++ b/qt/mssql/basic/makefile @@ -105,7 +105,12 @@ $(call include,$(bld_root)/meta/vc9proj.make) $(call include,$(bld_root)/meta/vc10proj.make) $(call include,$(bld_root)/meta/automake.make) +$(call include,$(bld_root)/cxx/standard.make) # cxx_standard +ifdef cxx_standard +$(gen): odb_options += --std $(cxx_standard) $(call include,$(odb_rules)) +endif + $(call include,$(bld_root)/cxx/cxx-d.make) $(call include,$(bld_root)/cxx/cxx-o.make) $(call include,$(bld_root)/cxx/o-e.make) diff --git a/qt/mssql/date-time/makefile b/qt/mssql/date-time/makefile index d6d7e62..9ca111d 100644 --- a/qt/mssql/date-time/makefile +++ b/qt/mssql/date-time/makefile @@ -105,7 +105,12 @@ $(call include,$(bld_root)/meta/vc9proj.make) $(call include,$(bld_root)/meta/vc10proj.make) $(call include,$(bld_root)/meta/automake.make) +$(call include,$(bld_root)/cxx/standard.make) # cxx_standard +ifdef cxx_standard +$(gen): odb_options += --std $(cxx_standard) $(call include,$(odb_rules)) +endif + $(call include,$(bld_root)/cxx/cxx-d.make) $(call include,$(bld_root)/cxx/cxx-o.make) $(call include,$(bld_root)/cxx/o-e.make) diff --git a/qt/mssql/template/makefile b/qt/mssql/template/makefile index 3fe0eb4..0bd81e3 100644 --- a/qt/mssql/template/makefile +++ b/qt/mssql/template/makefile @@ -99,7 +99,12 @@ $(call include,$(bld_root)/meta/vc9proj.make) $(call include,$(bld_root)/meta/vc10proj.make) $(call include,$(bld_root)/meta/automake.make) +$(call include,$(bld_root)/cxx/standard.make) # cxx_standard +ifdef cxx_standard +$(gen): odb_options += --std $(cxx_standard) $(call include,$(odb_rules)) +endif + $(call include,$(bld_root)/cxx/cxx-d.make) $(call include,$(bld_root)/cxx/cxx-o.make) $(call include,$(bld_root)/cxx/o-e.make) |