Moving some Windows-specific preprocessor stuff and a prototype from "freeglut_init...
[freeglut] / VisualStudio / 2008 / freeglut.vcproj
index 733bcdd..a05a47d 100644 (file)
@@ -69,7 +69,7 @@
                                Name="VCLinkerTool"\r
                                OutputFile="$(OutDir)\$(ProjectName).dll"\r
                                LinkIncremental="2"\r
-                               ModuleDefinitionFile="..\..\src\freeglutdll.def"\r
+                               ModuleDefinitionFile="..\..\src\Common\freeglutdll.def"\r
                                GenerateDebugInformation="true"\r
                                RandomizedBaseAddress="1"\r
                                ImportLibrary="$(OutDir)\$(ProjectName).lib"\r
                        <Tool\r
                                Name="VCLinkerTool"\r
                                OutputFile="$(OutDir)\$(ProjectName).dll"\r
-                               ModuleDefinitionFile="..\..\src\freeglutdll.def"\r
+                               ModuleDefinitionFile="..\..\src\Common\freeglutdll.def"\r
                                RandomizedBaseAddress="1"\r
                                ImportLibrary="$(OutDir)\$(ProjectName).lib"\r
                                TargetMachine="1"\r
                        Name="Source Files"\r
                        Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"\r
                        >\r
+            <Filter\r
+                Name="mswin"\r
+                >\r
+                <File\r
+                    RelativePath="..\..\src\mswin\freeglut_cursor_mswin.c"\r
+                    >\r
+                </File>\r
+                <File\r
+                    RelativePath="..\..\src\mswin\freeglut_display_mswin.c"\r
+                    >\r
+                </File>\r
+                <File\r
+                    RelativePath="..\..\src\mswin\freeglut_ext_mswin.c"\r
+                    >\r
+                </File>\r
+                <File\r
+                    RelativePath="..\..\src\mswin\freeglut_gamemode_mswin.c"\r
+                    >\r
+                </File>\r
+                <File\r
+                    RelativePath="..\..\src\mswin\freeglut_init_mswin.c"\r
+                    >\r
+                </File>\r
+                <File\r
+                    RelativePath="..\..\src\mswin\freeglut_input_devices_mswin.c"\r
+                    >\r
+                </File>\r
+                <File\r
+                    RelativePath="..\..\src\mswin\freeglut_joystick_mswin.c"\r
+                    >\r
+                </File>\r
+                <File\r
+                    RelativePath="..\..\src\mswin\freeglut_main_mswin.c"\r
+                    >\r
+                </File>\r
+                <File\r
+                    RelativePath="..\..\src\mswin\freeglut_menu_mswin.c"\r
+                    >\r
+                </File>\r
+                <File\r
+                    RelativePath="..\..\src\mswin\freeglut_spaceball_mswin.c"\r
+                    >\r
+                </File>\r
+                <File\r
+                    RelativePath="..\..\src\mswin\freeglut_state_mswin.c"\r
+                    >\r
+                </File>\r
+                <File\r
+                    RelativePath="..\..\src\mswin\freeglut_structure_mswin.c"\r
+                    >\r
+                </File>\r
+                <File\r
+                    RelativePath="..\..\src\mswin\freeglut_window_mswin.c"\r
+                    >\r
+                </File>\r
+            </Filter>\r
                        <File\r
-                               RelativePath="..\..\src\freeglut_callbacks.c"\r
+                               RelativePath="..\..\src\Common\freeglut_callbacks.c"\r
                                >\r
                        </File>\r
                        <File\r
-                               RelativePath="..\..\src\freeglut_cursor.c"\r
+                               RelativePath="..\..\src\Common\freeglut_cursor.c"\r
                                >\r
                        </File>\r
                        <File\r
-                               RelativePath="..\..\src\freeglut_display.c"\r
+                               RelativePath="..\..\src\Common\freeglut_display.c"\r
                                >\r
                        </File>\r
                        <File\r
-                               RelativePath="..\..\src\freeglut_ext.c"\r
+                               RelativePath="..\..\src\Common\freeglut_ext.c"\r
                                >\r
                        </File>\r
                        <File\r
-                               RelativePath="..\..\src\freeglut_font.c"\r
+                               RelativePath="..\..\src\Common\freeglut_font.c"\r
                                >\r
                        </File>\r
                        <File\r
-                               RelativePath="..\..\src\freeglut_font_data.c"\r
+                               RelativePath="..\..\src\Common\freeglut_font_data.c"\r
                                >\r
                        </File>\r
                        <File\r
-                               RelativePath="..\..\src\freeglut_gamemode.c"\r
+                               RelativePath="..\..\src\Common\freeglut_gamemode.c"\r
                                >\r
                        </File>\r
                        <File\r
-                               RelativePath="..\..\src\freeglut_geometry.c"\r
+                               RelativePath="..\..\src\Common\freeglut_geometry.c"\r
                                >\r
                        </File>\r
                        <File\r
-                               RelativePath="..\..\src\freeglut_glutfont_definitions.c"\r
+                               RelativePath="..\..\src\Common\freeglut_init.c"\r
                                >\r
                        </File>\r
                        <File\r
-                               RelativePath="..\..\src\freeglut_init.c"\r
+                               RelativePath="..\..\src\Common\freeglut_input_devices.c"\r
                                >\r
                        </File>\r
                        <File\r
-                               RelativePath="..\..\src\freeglut_input_devices.c"\r
+                               RelativePath="..\..\src\Common\freeglut_joystick.c"\r
                                >\r
                        </File>\r
                        <File\r
-                               RelativePath="..\..\src\freeglut_joystick.c"\r
+                               RelativePath="..\..\src\Common\freeglut_main.c"\r
                                >\r
                        </File>\r
                        <File\r
-                               RelativePath="..\..\src\freeglut_main.c"\r
+                               RelativePath="..\..\src\Common\freeglut_menu.c"\r
                                >\r
                        </File>\r
                        <File\r
-                               RelativePath="..\..\src\freeglut_menu.c"\r
+                               RelativePath="..\..\src\Common\freeglut_misc.c"\r
                                >\r
                        </File>\r
                        <File\r
-                               RelativePath="..\..\src\freeglut_misc.c"\r
+                               RelativePath="..\..\src\Common\freeglut_overlay.c"\r
                                >\r
                        </File>\r
                        <File\r
-                               RelativePath="..\..\src\freeglut_overlay.c"\r
+                               RelativePath="..\..\src\Common\freeglut_spaceball.c"\r
                                >\r
                        </File>\r
                        <File\r
-                               RelativePath="..\..\src\freeglut_spaceball.c"\r
+                               RelativePath="..\..\src\Common\freeglut_state.c"\r
                                >\r
                        </File>\r
                        <File\r
-                               RelativePath="..\..\src\freeglut_state.c"\r
+                               RelativePath="..\..\src\Common\freeglut_stroke_mono_roman.c"\r
                                >\r
                        </File>\r
                        <File\r
-                               RelativePath="..\..\src\freeglut_stroke_mono_roman.c"\r
+                               RelativePath="..\..\src\Common\freeglut_stroke_roman.c"\r
                                >\r
                        </File>\r
                        <File\r
-                               RelativePath="..\..\src\freeglut_stroke_roman.c"\r
+                               RelativePath="..\..\src\Common\freeglut_structure.c"\r
                                >\r
                        </File>\r
                        <File\r
-                               RelativePath="..\..\src\freeglut_structure.c"\r
+                               RelativePath="..\..\src\Common\freeglut_teapot.c"\r
                                >\r
                        </File>\r
                        <File\r
-                               RelativePath="..\..\src\freeglut_teapot.c"\r
+                               RelativePath="..\..\src\Common\freeglut_videoresize.c"\r
                                >\r
                        </File>\r
                        <File\r
-                               RelativePath="..\..\src\freeglut_videoresize.c"\r
+                               RelativePath="..\..\src\Common\freeglut_window.c"\r
                                >\r
                        </File>\r
                        <File\r
-                               RelativePath="..\..\src\freeglut_window.c"\r
-                               >\r
-                       </File>\r
-                       <File\r
-                               RelativePath="..\..\src\freeglutdll.def"\r
+                               RelativePath="..\..\src\Common\freeglutdll.def"\r
                                >\r
                        </File>\r
                </Filter>\r
                                >\r
                        </File>\r
                        <File\r
-                               RelativePath="..\..\src\freeglut_internal.h"\r
+                               RelativePath="..\..\src\Common\freeglut_internal.h"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\..\src\mswin\freeglut_internal_mswin.h"\r
                                >\r
                        </File>\r
                        <File\r
                                >\r
                        </File>\r
                        <File\r
-                               RelativePath="..\..\src\freeglut_teapot_data.h"\r
+                               RelativePath="..\..\src\Common\freeglut_teapot_data.h"\r
                                >\r
                        </File>\r
                        <File\r