Daniele Bartolini vor 10 Jahren
Ursprung
Commit
2f471421af
1 geänderte Dateien mit 51 neuen und 3 gelöschten Zeilen
  1. 51 3
      genie/crown.lua

+ 51 - 3
genie/crown.lua

@@ -194,7 +194,23 @@ function crown_project(_name, _kind, _defines)
 				"dl",
 			}
 
-		configuration { "debug", "linux-*" }
+		configuration { "x32", "debug", "linux-*" }
+			linkoptions {
+				"-rdynamic",
+				"-Wl,--start-group $(addprefix -l," ..
+				"	PhysX3CHECKED_x86" ..
+				"	PhysX3CommonCHECKED_x86" ..
+				"	PhysX3CookingCHECKED_x86" ..
+				"	PhysX3CharacterKinematicCHECKED_x86" ..
+				"	PhysX3ExtensionsCHECKED" ..
+				"	PhysX3VehicleCHECKED" ..
+				"	PhysXProfileSDKCHECKED" ..
+				"	PhysXVisualDebuggerSDKCHECKED" ..
+				"	PxTaskCHECKED" ..
+				") -Wl,--end-group"
+			}
+
+		configuration { "x64", "debug", "linux-*" }
 			linkoptions {
 				"-rdynamic",
 				"-Wl,--start-group $(addprefix -l," ..
@@ -210,7 +226,24 @@ function crown_project(_name, _kind, _defines)
 				") -Wl,--end-group"
 			}
 
-		configuration { "development", "linux-*" }
+		configuration { "x32", "development", "linux-*" }
+			linkoptions
+			{
+				"-rdynamic",
+				"-Wl,--start-group $(addprefix -l," ..
+				"	PhysX3PROFILE_x86" ..
+				"	PhysX3CommonPROFILE_x86" ..
+				"	PhysX3CookingPROFILE_x86" ..
+				"	PhysX3CharacterKinematicPROFILE_x86" ..
+				"	PhysX3ExtensionsPROFILE" ..
+				"	PhysX3VehiclePROFILE" ..
+				"	PhysXProfileSDKPROFILE" ..
+				"	PhysXVisualDebuggerSDKPROFILE" ..
+				"	PxTaskPROFILE" ..
+				") -Wl,--end-group"
+			}
+
+		configuration { "x64", "development", "linux-*" }
 			linkoptions
 			{
 				"-rdynamic",
@@ -227,7 +260,22 @@ function crown_project(_name, _kind, _defines)
 				") -Wl,--end-group"
 			}
 
-		configuration { "release", "linux-*" }
+		configuration { "x32", "release", "linux-*" }
+			linkoptions {
+				"-Wl,--start-group $(addprefix -l," ..
+				"	PhysX3_x86" ..
+				"	PhysX3Common_x86" ..
+				"	PhysX3Cooking_x86" ..
+				"	PhysX3CharacterKinematic_x86" ..
+				"	PhysX3Extensions" ..
+				"	PhysX3Vehicle" ..
+				"	PhysXProfileSDK" ..
+				"	PhysXVisualDebuggerSDK" ..
+				"	PxTask" ..
+				") -Wl,--end-group"
+			}
+
+		configuration { "x64", "release", "linux-*" }
 			linkoptions {
 				"-Wl,--start-group $(addprefix -l," ..
 				"	PhysX3_x64" ..