Visual Studio Builds: Update .def Files Generation
Define COGL_HAS_GTYPE_SUPPORT during the preprocessing of the .symbols files so that the _get_gtype symbols can be exported.
This commit is contained in:
parent
39d30a35a7
commit
3e494a13f8
@ -48,15 +48,15 @@ cd $(SolutionDir)
|
||||
</GenCoglEnumsC>
|
||||
<GenerateCoglDef>
|
||||
echo EXPORTS > $(DefDir)\cogl.def
|
||||
cl -EP -D_COGL_SUPPORTS_GTYPE_INTEGRATION -DCOGL_HAS_WIN32_SUPPORT -DCOGL_HAS_GLIB_SUPPORT -DCOGL_ENABLE_EXPERIMENTAL_API ..\..\..\cogl\cogl.symbols >> $(DefDir)\cogl.def
|
||||
cl -EP -DCOGL_HAS_GTYPE_SUPPORT -DCOGL_HAS_WIN32_SUPPORT -DCOGL_HAS_GLIB_SUPPORT -DCOGL_ENABLE_EXPERIMENTAL_API ..\..\..\cogl\cogl.symbols >> $(DefDir)\cogl.def
|
||||
</GenerateCoglDef>
|
||||
<GenerateCoglSDLDef>
|
||||
echo EXPORTS > $(DefDir)\cogl.def
|
||||
cl -EP -D_COGL_SUPPORTS_GTYPE_INTEGRATION -DCOGL_HAS_WIN32_SUPPORT -DCOGL_HAS_GLIB_SUPPORT -DCOGL_HAS_SDL_SUPPORT -DCOGL_ENABLE_EXPERIMENTAL_API ..\..\..\cogl\cogl.symbols >> $(DefDir)\cogl.def
|
||||
cl -EP -DCOGL_HAS_GTYPE_SUPPORT -DCOGL_HAS_WIN32_SUPPORT -DCOGL_HAS_GLIB_SUPPORT -DCOGL_HAS_SDL_SUPPORT -DCOGL_ENABLE_EXPERIMENTAL_API ..\..\..\cogl\cogl.symbols >> $(DefDir)\cogl.def
|
||||
</GenerateCoglSDLDef>
|
||||
<GenerateCoglPathDef>
|
||||
echo EXPORTS > $(DefDir)\cogl-path.def
|
||||
cl -EP ..\..\..\cogl-path\cogl-path.symbols >> $(DefDir)\cogl-path.def
|
||||
cl -EP -DCOGL_HAS_GTYPE_SUPPORT ..\..\..\cogl-path\cogl-path.symbols >> $(DefDir)\cogl-path.def
|
||||
</GenerateCoglPathDef>
|
||||
<GenerateCoglPangoDef>
|
||||
echo EXPORTS > $(DefDir)\cogl-pango.def
|
||||
|
@ -75,21 +75,21 @@ cd $(SolutionDir)

|
||||
Name="GenerateCoglDef"
|
||||
Value="
|
||||
echo EXPORTS > $(DefDir)\cogl.def

|
||||
cl -EP -D_COGL_SUPPORTS_GTYPE_INTEGRATION -DCOGL_HAS_WIN32_SUPPORT -DCOGL_HAS_GLIB_SUPPORT -DCOGL_ENABLE_EXPERIMENTAL_API ..\..\..\cogl\cogl.symbols >> $(DefDir)\cogl.def

|
||||
cl -EP -DCOGL_HAS_GTYPE_SUPPORT -DCOGL_HAS_WIN32_SUPPORT -DCOGL_HAS_GLIB_SUPPORT -DCOGL_ENABLE_EXPERIMENTAL_API ..\..\..\cogl\cogl.symbols >> $(DefDir)\cogl.def

|
||||
"
|
||||
/>
|
||||
<UserMacro
|
||||
Name="GenerateCoglSDLDef"
|
||||
Value="
|
||||
echo EXPORTS > $(DefDir)\cogl.def

|
||||
cl -EP -D_COGL_SUPPORTS_GTYPE_INTEGRATION -DCOGL_HAS_WIN32_SUPPORT -DCOGL_HAS_GLIB_SUPPORT -DCOGL_HAS_SDL_SUPPORT -DCOGL_ENABLE_EXPERIMENTAL_API ..\..\..\cogl\cogl.symbols >> $(DefDir)\cogl.def

|
||||
cl -EP -DCOGL_HAS_GTYPE_SUPPORT -DCOGL_HAS_WIN32_SUPPORT -DCOGL_HAS_GLIB_SUPPORT -DCOGL_HAS_SDL_SUPPORT -DCOGL_ENABLE_EXPERIMENTAL_API ..\..\..\cogl\cogl.symbols >> $(DefDir)\cogl.def

|
||||
"
|
||||
/>
|
||||
<UserMacro
|
||||
Name="GenerateCoglPathDef"
|
||||
Value="
|
||||
echo EXPORTS > $(DefDir)\cogl-path.def

|
||||
cl -EP ..\..\..\cogl-path\cogl-path.symbols >> $(DefDir)\cogl-path.def

|
||||
cl -EP -DCOGL_HAS_GTYPE_SUPPORT ..\..\..\cogl-path\cogl-path.symbols >> $(DefDir)\cogl-path.def

|
||||
"
|
||||
/>
|
||||
<UserMacro
|
||||
|
Loading…
Reference in New Issue
Block a user