Permalink
Browse files

Add -std=c++14 build flag for unique_ptr

1 parent 26fa3c6 commit 7c40a92c46884852ffff9d195fe48b5f03f99435 @jhasse jhasse committed Jan 5, 2017
@@ -20,6 +20,7 @@ project "plugin-interface"
flags {"ExtraWarnings"}
defines {"TIXML_USE_TICPP"}
targetsuffix ( "-" .. wxVersion )
+ buildoptions "-std=c++14"
if wxArchitecture then
buildoptions {"-arch " .. wxArchitecture}
@@ -18,15 +18,16 @@ project "additional-components-plugin"
defines {"BUILD_DLL", "TIXML_USE_TICPP"}
flags {"ExtraWarnings"}
links {"plugin-interface", "TiCPP"}
+ buildoptions "-std=c++14"
local libs = "std,richtext,propgrid,stc,ribbon,aui"
if wxUseMediaCtrl then
defines {"USE_MEDIACTRL"}
libs = libs .. ",media"
end
- if wxArchitecture then
- buildoptions {"-arch " .. wxArchitecture}
+ if wxArchitecture then
+ buildoptions {"-arch " .. wxArchitecture}
end
configuration "not windows"
@@ -18,11 +18,12 @@ project "common-components-plugin"
defines {"BUILD_DLL", "TIXML_USE_TICPP"}
flags {"ExtraWarnings"}
links {"plugin-interface", "TiCPP"}
+ buildoptions "-std=c++14"
local libs = "std,richtext,propgrid,stc,ribbon,aui"
- if wxArchitecture then
- buildoptions {"-arch " .. wxArchitecture}
+ if wxArchitecture then
+ buildoptions {"-arch " .. wxArchitecture}
end
configuration "not windows"
@@ -18,11 +18,12 @@ project "containers-components-plugin"
defines {"BUILD_DLL", "TIXML_USE_TICPP"}
flags {"ExtraWarnings"}
links {"plugin-interface", "TiCPP"}
+ buildoptions "-std=c++14"
local libs = "std,richtext,propgrid,stc,ribbon,aui"
- if wxArchitecture then
- buildoptions {"-arch " .. wxArchitecture}
+ if wxArchitecture then
+ buildoptions {"-arch " .. wxArchitecture}
end
configuration "not windows"
@@ -18,11 +18,12 @@ project "forms-components-plugin"
defines {"BUILD_DLL", "TIXML_USE_TICPP"}
flags {"ExtraWarnings"}
links {"plugin-interface", "TiCPP"}
+ buildoptions "-std=c++14"
local libs = "std,richtext,propgrid,stc,ribbon,aui"
- if wxArchitecture then
- buildoptions {"-arch " .. wxArchitecture}
+ if wxArchitecture then
+ buildoptions {"-arch " .. wxArchitecture}
end
configuration "not windows"
@@ -18,11 +18,12 @@ project "layout-components-plugin"
defines {"BUILD_DLL", "TIXML_USE_TICPP"}
flags {"ExtraWarnings"}
links {"plugin-interface", "TiCPP"}
+ buildoptions "-std=c++14"
local libs = "std,richtext,propgrid,stc,ribbon,aui"
- if wxArchitecture then
- buildoptions {"-arch " .. wxArchitecture}
+ if wxArchitecture then
+ buildoptions {"-arch " .. wxArchitecture}
end
configuration "not windows"
@@ -14,6 +14,7 @@ project "TiCPP"
files {"../../sdk/tinyxml/*.cpp", "../../sdk/tinyxml/*.h"}
excludes {"xmltest.cpp"}
defines {"TIXML_USE_TICPP"}
+ buildoptions "-std=c++14"
if wxArchitecture then
buildoptions {"-arch " .. wxArchitecture}
@@ -9,6 +9,7 @@
-----------------------------------------------------------------------------
project "wxFormBuilder"
kind "WindowedApp"
+ buildoptions "-std=c++14"
files
{
"../../src/**.h", "../../src/**.hpp", "../../src/**.hh",

0 comments on commit 7c40a92

Please sign in to comment.