mirror of
https://github.com/Ed94/HandmadeHero.git
synced 2026-11-14 02:03:25 -08:00
Got clang to build parity with msvc
This commit is contained in:
1 parent
4ab64e2c17
commit
2a660da1d8
8 files changed
+32
-13
No files matched your search
+2
-2
@@ -250,10 +250,10 @@ function build-engine
|
||||
$local:compiler_args = $script:compiler_args
|
||||
$compiler_args += ($flag_define + 'Build_DLL=1' )
|
||||
|
||||
if ( $vendor -eq 'msvc' ) {
|
||||
if ( $IsWindows ) {
|
||||
$compiler_args += ($flag_define + 'Engine_API=__declspec(dllexport)')
|
||||
}
|
||||
if ( $vendor -eq 'clang' ) {
|
||||
else {
|
||||
$compiler_args += ($flag_define + 'Engine_API=__attribute__((visibility("default")))')
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user