#2191 closed enhancement (fixed)
[Premake] Add VS2012, EnableSSE2 and "--with-c++11"
Reported by: | Jorma Rebane | Owned by: | Jorma Rebane |
---|---|---|---|
Priority: | Must Have | Milestone: | Alpha 15 |
Component: | Build & Packages | Keywords: | patch |
Cc: | historicbruno, philip, josh | Patch: |
Description
This patch adds three new features to the build system:
- VS2012 project generation - premake4 now accepts "vs2012" and generates a correct solution file for VS2012.
- EnableSSE2 - automatically enables SSE2 via premake flag "EnableSSE2"; This doesn't really change anything for gcc/icc, but is crucial to enable SSE2 code generation in VS projects. Using the default feature of premake which ignores EnableSSE2 on systems that don't support it.
- "--with-c++11" - Special premake flag that passes -std=c++0x to gcc/icc. Simply pass --with-c++11 to enable C++11 features. For testing and possible migration to C++11 in the future.
I also added a new batch file that generates atlas build for VS2012. This is useful for developers who need to recompile AtlasUI.dll.
Attachments (2)
Change History (6)
by , 11 years ago
Attachment: | premake4_VS2012_support.patch added |
---|
by , 11 years ago
Attachment: | premake4_SSE2_C++11.patch added |
---|
Adds SSE2 to Windows build and optional C++11 build option
comment:4 by , 11 years ago
Keywords: | review removed |
---|
Note:
See TracTickets
for help on using tickets.
Split patch, only VS2012 support for premake4