filedialog 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +7 -0
  2. data/.github/workflows/gempush.yml +31 -0
  3. data/.gitignore +13 -0
  4. data/.gitmodules +3 -0
  5. data/.rubocop.yml +19 -0
  6. data/Gemfile +10 -0
  7. data/Gemfile.lock +30 -0
  8. data/LICENSE +674 -0
  9. data/README.md +22 -0
  10. data/Rakefile +35 -0
  11. data/bin/console +25 -0
  12. data/deps/filedialogbuilddeps.rb +49 -0
  13. data/deps/nativefiledialog/.github/ISSUE_TEMPLATE/bug_report.md +32 -0
  14. data/deps/nativefiledialog/.gitignore +181 -0
  15. data/deps/nativefiledialog/LICENSE +16 -0
  16. data/deps/nativefiledialog/README.md +180 -0
  17. data/deps/nativefiledialog/build/dont_run_premake.txt +1 -0
  18. data/deps/nativefiledialog/build/gmake_linux/Makefile +101 -0
  19. data/deps/nativefiledialog/build/gmake_linux/nfd.make +192 -0
  20. data/deps/nativefiledialog/build/gmake_linux/test_opendialog.make +188 -0
  21. data/deps/nativefiledialog/build/gmake_linux/test_opendialogmultiple.make +188 -0
  22. data/deps/nativefiledialog/build/gmake_linux/test_pickfolder.make +188 -0
  23. data/deps/nativefiledialog/build/gmake_linux/test_savedialog.make +188 -0
  24. data/deps/nativefiledialog/build/gmake_linux_zenity/Makefile +101 -0
  25. data/deps/nativefiledialog/build/gmake_linux_zenity/nfd.make +192 -0
  26. data/deps/nativefiledialog/build/gmake_linux_zenity/test_opendialog.make +188 -0
  27. data/deps/nativefiledialog/build/gmake_linux_zenity/test_opendialogmultiple.make +188 -0
  28. data/deps/nativefiledialog/build/gmake_linux_zenity/test_pickfolder.make +188 -0
  29. data/deps/nativefiledialog/build/gmake_linux_zenity/test_savedialog.make +188 -0
  30. data/deps/nativefiledialog/build/gmake_macosx/Makefile +85 -0
  31. data/deps/nativefiledialog/build/gmake_macosx/nfd.make +154 -0
  32. data/deps/nativefiledialog/build/gmake_macosx/test_opendialog.make +150 -0
  33. data/deps/nativefiledialog/build/gmake_macosx/test_opendialogmultiple.make +150 -0
  34. data/deps/nativefiledialog/build/gmake_macosx/test_pickfolder.make +150 -0
  35. data/deps/nativefiledialog/build/gmake_macosx/test_savedialog.make +150 -0
  36. data/deps/nativefiledialog/build/gmake_windows/Makefile +101 -0
  37. data/deps/nativefiledialog/build/gmake_windows/nfd.make +192 -0
  38. data/deps/nativefiledialog/build/gmake_windows/test_opendialog.make +188 -0
  39. data/deps/nativefiledialog/build/gmake_windows/test_opendialogmultiple.make +188 -0
  40. data/deps/nativefiledialog/build/gmake_windows/test_pickfolder.make +188 -0
  41. data/deps/nativefiledialog/build/gmake_windows/test_savedialog.make +188 -0
  42. data/deps/nativefiledialog/build/premake5.lua +265 -0
  43. data/deps/nativefiledialog/build/vs2010/NativeFileDialog.sln +78 -0
  44. data/deps/nativefiledialog/build/vs2010/nfd.vcxproj +168 -0
  45. data/deps/nativefiledialog/build/vs2010/nfd.vcxproj.filters +20 -0
  46. data/deps/nativefiledialog/build/vs2010/test_opendialog.vcxproj +182 -0
  47. data/deps/nativefiledialog/build/vs2010/test_opendialogmultiple.vcxproj +182 -0
  48. data/deps/nativefiledialog/build/vs2010/test_pickfolder.vcxproj +182 -0
  49. data/deps/nativefiledialog/build/vs2010/test_savedialog.vcxproj +182 -0
  50. data/deps/nativefiledialog/build/xcode4/NativeFileDialog.xcworkspace/contents.xcworkspacedata +19 -0
  51. data/deps/nativefiledialog/build/xcode4/nfd.xcodeproj/project.pbxproj +228 -0
  52. data/deps/nativefiledialog/build/xcode4/test_opendialog.xcodeproj/project.pbxproj +294 -0
  53. data/deps/nativefiledialog/build/xcode4/test_opendialogmultiple.xcodeproj/project.pbxproj +294 -0
  54. data/deps/nativefiledialog/build/xcode4/test_pickfolder.xcodeproj/project.pbxproj +294 -0
  55. data/deps/nativefiledialog/build/xcode4/test_savedialog.xcodeproj/project.pbxproj +294 -0
  56. data/deps/nativefiledialog/docs/build.md +39 -0
  57. data/deps/nativefiledialog/docs/contributing.md +25 -0
  58. data/deps/nativefiledialog/screens/open_cocoa.png +0 -0
  59. data/deps/nativefiledialog/screens/open_gtk3.png +0 -0
  60. data/deps/nativefiledialog/screens/open_win.png +0 -0
  61. data/deps/nativefiledialog/src/common.h +21 -0
  62. data/deps/nativefiledialog/src/include/nfd.h +74 -0
  63. data/deps/nativefiledialog/src/nfd_cocoa.m +286 -0
  64. data/deps/nativefiledialog/src/nfd_common.c +142 -0
  65. data/deps/nativefiledialog/src/nfd_common.h +39 -0
  66. data/deps/nativefiledialog/src/nfd_gtk.c +379 -0
  67. data/deps/nativefiledialog/src/nfd_win.cpp +762 -0
  68. data/deps/nativefiledialog/src/nfd_zenity.c +307 -0
  69. data/deps/nativefiledialog/src/simple_exec.h +218 -0
  70. data/deps/nativefiledialog/test/test_opendialog.c +29 -0
  71. data/deps/nativefiledialog/test/test_opendialogmultiple.c +32 -0
  72. data/deps/nativefiledialog/test/test_pickfolder.c +29 -0
  73. data/deps/nativefiledialog/test/test_savedialog.c +28 -0
  74. data/ext/filedialog/extconf.rb +58 -0
  75. data/ext/filedialog/filedialog.c +118 -0
  76. data/filedialog.gemspec +48 -0
  77. data/lib/filedialog.rb +50 -0
  78. data/lib/filedialog/version.rb +5 -0
  79. metadata +137 -0
@@ -0,0 +1,78 @@
1
+ 
2
+ Microsoft Visual Studio Solution File, Format Version 11.00
3
+ # Visual Studio 2010
4
+ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "nfd", "nfd.vcxproj", "{5D94880B-C99D-887C-5219-9F7CBE21947C}"
5
+ EndProject
6
+ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test_opendialog", "test_opendialog.vcxproj", "{86EEA43A-F279-12FF-FB8A-95F367956EFF}"
7
+ ProjectSection(ProjectDependencies) = postProject
8
+ {5D94880B-C99D-887C-5219-9F7CBE21947C} = {5D94880B-C99D-887C-5219-9F7CBE21947C}
9
+ EndProjectSection
10
+ EndProject
11
+ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test_opendialogmultiple", "test_opendialogmultiple.vcxproj", "{72399713-DE70-DFAA-E77A-43CE533106A4}"
12
+ ProjectSection(ProjectDependencies) = postProject
13
+ {5D94880B-C99D-887C-5219-9F7CBE21947C} = {5D94880B-C99D-887C-5219-9F7CBE21947C}
14
+ EndProjectSection
15
+ EndProject
16
+ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test_pickfolder", "test_pickfolder.vcxproj", "{C7D1F254-335D-6019-3C6E-E30DA878BC19}"
17
+ ProjectSection(ProjectDependencies) = postProject
18
+ {5D94880B-C99D-887C-5219-9F7CBE21947C} = {5D94880B-C99D-887C-5219-9F7CBE21947C}
19
+ EndProjectSection
20
+ EndProject
21
+ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test_savedialog", "test_savedialog.vcxproj", "{23941773-8F1F-8537-9830-082C043BE137}"
22
+ ProjectSection(ProjectDependencies) = postProject
23
+ {5D94880B-C99D-887C-5219-9F7CBE21947C} = {5D94880B-C99D-887C-5219-9F7CBE21947C}
24
+ EndProjectSection
25
+ EndProject
26
+ Global
27
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
28
+ Debug|Win32 = Debug|Win32
29
+ Debug|x64 = Debug|x64
30
+ Release|Win32 = Release|Win32
31
+ Release|x64 = Release|x64
32
+ EndGlobalSection
33
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
34
+ {5D94880B-C99D-887C-5219-9F7CBE21947C}.Debug|Win32.ActiveCfg = Debug|Win32
35
+ {5D94880B-C99D-887C-5219-9F7CBE21947C}.Debug|Win32.Build.0 = Debug|Win32
36
+ {5D94880B-C99D-887C-5219-9F7CBE21947C}.Debug|x64.ActiveCfg = Debug|x64
37
+ {5D94880B-C99D-887C-5219-9F7CBE21947C}.Debug|x64.Build.0 = Debug|x64
38
+ {5D94880B-C99D-887C-5219-9F7CBE21947C}.Release|Win32.ActiveCfg = Release|Win32
39
+ {5D94880B-C99D-887C-5219-9F7CBE21947C}.Release|Win32.Build.0 = Release|Win32
40
+ {5D94880B-C99D-887C-5219-9F7CBE21947C}.Release|x64.ActiveCfg = Release|x64
41
+ {5D94880B-C99D-887C-5219-9F7CBE21947C}.Release|x64.Build.0 = Release|x64
42
+ {86EEA43A-F279-12FF-FB8A-95F367956EFF}.Debug|Win32.ActiveCfg = Debug|Win32
43
+ {86EEA43A-F279-12FF-FB8A-95F367956EFF}.Debug|Win32.Build.0 = Debug|Win32
44
+ {86EEA43A-F279-12FF-FB8A-95F367956EFF}.Debug|x64.ActiveCfg = Debug|x64
45
+ {86EEA43A-F279-12FF-FB8A-95F367956EFF}.Debug|x64.Build.0 = Debug|x64
46
+ {86EEA43A-F279-12FF-FB8A-95F367956EFF}.Release|Win32.ActiveCfg = Release|Win32
47
+ {86EEA43A-F279-12FF-FB8A-95F367956EFF}.Release|Win32.Build.0 = Release|Win32
48
+ {86EEA43A-F279-12FF-FB8A-95F367956EFF}.Release|x64.ActiveCfg = Release|x64
49
+ {86EEA43A-F279-12FF-FB8A-95F367956EFF}.Release|x64.Build.0 = Release|x64
50
+ {72399713-DE70-DFAA-E77A-43CE533106A4}.Debug|Win32.ActiveCfg = Debug|Win32
51
+ {72399713-DE70-DFAA-E77A-43CE533106A4}.Debug|Win32.Build.0 = Debug|Win32
52
+ {72399713-DE70-DFAA-E77A-43CE533106A4}.Debug|x64.ActiveCfg = Debug|x64
53
+ {72399713-DE70-DFAA-E77A-43CE533106A4}.Debug|x64.Build.0 = Debug|x64
54
+ {72399713-DE70-DFAA-E77A-43CE533106A4}.Release|Win32.ActiveCfg = Release|Win32
55
+ {72399713-DE70-DFAA-E77A-43CE533106A4}.Release|Win32.Build.0 = Release|Win32
56
+ {72399713-DE70-DFAA-E77A-43CE533106A4}.Release|x64.ActiveCfg = Release|x64
57
+ {72399713-DE70-DFAA-E77A-43CE533106A4}.Release|x64.Build.0 = Release|x64
58
+ {C7D1F254-335D-6019-3C6E-E30DA878BC19}.Debug|Win32.ActiveCfg = Debug|Win32
59
+ {C7D1F254-335D-6019-3C6E-E30DA878BC19}.Debug|Win32.Build.0 = Debug|Win32
60
+ {C7D1F254-335D-6019-3C6E-E30DA878BC19}.Debug|x64.ActiveCfg = Debug|x64
61
+ {C7D1F254-335D-6019-3C6E-E30DA878BC19}.Debug|x64.Build.0 = Debug|x64
62
+ {C7D1F254-335D-6019-3C6E-E30DA878BC19}.Release|Win32.ActiveCfg = Release|Win32
63
+ {C7D1F254-335D-6019-3C6E-E30DA878BC19}.Release|Win32.Build.0 = Release|Win32
64
+ {C7D1F254-335D-6019-3C6E-E30DA878BC19}.Release|x64.ActiveCfg = Release|x64
65
+ {C7D1F254-335D-6019-3C6E-E30DA878BC19}.Release|x64.Build.0 = Release|x64
66
+ {23941773-8F1F-8537-9830-082C043BE137}.Debug|Win32.ActiveCfg = Debug|Win32
67
+ {23941773-8F1F-8537-9830-082C043BE137}.Debug|Win32.Build.0 = Debug|Win32
68
+ {23941773-8F1F-8537-9830-082C043BE137}.Debug|x64.ActiveCfg = Debug|x64
69
+ {23941773-8F1F-8537-9830-082C043BE137}.Debug|x64.Build.0 = Debug|x64
70
+ {23941773-8F1F-8537-9830-082C043BE137}.Release|Win32.ActiveCfg = Release|Win32
71
+ {23941773-8F1F-8537-9830-082C043BE137}.Release|Win32.Build.0 = Release|Win32
72
+ {23941773-8F1F-8537-9830-082C043BE137}.Release|x64.ActiveCfg = Release|x64
73
+ {23941773-8F1F-8537-9830-082C043BE137}.Release|x64.Build.0 = Release|x64
74
+ EndGlobalSection
75
+ GlobalSection(SolutionProperties) = preSolution
76
+ HideSolutionNode = FALSE
77
+ EndGlobalSection
78
+ EndGlobal
@@ -0,0 +1,168 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <ItemGroup Label="ProjectConfigurations">
4
+ <ProjectConfiguration Include="Release|x64">
5
+ <Configuration>Release</Configuration>
6
+ <Platform>x64</Platform>
7
+ </ProjectConfiguration>
8
+ <ProjectConfiguration Include="Release|Win32">
9
+ <Configuration>Release</Configuration>
10
+ <Platform>Win32</Platform>
11
+ </ProjectConfiguration>
12
+ <ProjectConfiguration Include="Debug|x64">
13
+ <Configuration>Debug</Configuration>
14
+ <Platform>x64</Platform>
15
+ </ProjectConfiguration>
16
+ <ProjectConfiguration Include="Debug|Win32">
17
+ <Configuration>Debug</Configuration>
18
+ <Platform>Win32</Platform>
19
+ </ProjectConfiguration>
20
+ </ItemGroup>
21
+ <PropertyGroup Label="Globals">
22
+ <ProjectGuid>{5D94880B-C99D-887C-5219-9F7CBE21947C}</ProjectGuid>
23
+ <Keyword>Win32Proj</Keyword>
24
+ <RootNamespace>nfd</RootNamespace>
25
+ </PropertyGroup>
26
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
27
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
28
+ <ConfigurationType>StaticLibrary</ConfigurationType>
29
+ <UseDebugLibraries>false</UseDebugLibraries>
30
+ <CharacterSet>Unicode</CharacterSet>
31
+ <PlatformToolset>v100</PlatformToolset>
32
+ </PropertyGroup>
33
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
34
+ <ConfigurationType>StaticLibrary</ConfigurationType>
35
+ <UseDebugLibraries>false</UseDebugLibraries>
36
+ <CharacterSet>Unicode</CharacterSet>
37
+ <PlatformToolset>v100</PlatformToolset>
38
+ </PropertyGroup>
39
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
40
+ <ConfigurationType>StaticLibrary</ConfigurationType>
41
+ <UseDebugLibraries>true</UseDebugLibraries>
42
+ <CharacterSet>Unicode</CharacterSet>
43
+ <PlatformToolset>v100</PlatformToolset>
44
+ </PropertyGroup>
45
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
46
+ <ConfigurationType>StaticLibrary</ConfigurationType>
47
+ <UseDebugLibraries>true</UseDebugLibraries>
48
+ <CharacterSet>Unicode</CharacterSet>
49
+ <PlatformToolset>v100</PlatformToolset>
50
+ </PropertyGroup>
51
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
52
+ <ImportGroup Label="ExtensionSettings">
53
+ </ImportGroup>
54
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
55
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
56
+ </ImportGroup>
57
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
58
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
59
+ </ImportGroup>
60
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
61
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
62
+ </ImportGroup>
63
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
64
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
65
+ </ImportGroup>
66
+ <PropertyGroup Label="UserMacros" />
67
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
68
+ <OutDir>..\lib\Release\x64\</OutDir>
69
+ <IntDir>..\obj\x64\Release\nfd\</IntDir>
70
+ <TargetName>nfd</TargetName>
71
+ <TargetExt>.lib</TargetExt>
72
+ </PropertyGroup>
73
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
74
+ <OutDir>..\lib\Release\x86\</OutDir>
75
+ <IntDir>..\obj\x86\Release\nfd\</IntDir>
76
+ <TargetName>nfd</TargetName>
77
+ <TargetExt>.lib</TargetExt>
78
+ </PropertyGroup>
79
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
80
+ <OutDir>..\lib\Debug\x64\</OutDir>
81
+ <IntDir>..\obj\x64\Debug\nfd\</IntDir>
82
+ <TargetName>nfd_d</TargetName>
83
+ <TargetExt>.lib</TargetExt>
84
+ </PropertyGroup>
85
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
86
+ <OutDir>..\lib\Debug\x86\</OutDir>
87
+ <IntDir>..\obj\x86\Debug\nfd\</IntDir>
88
+ <TargetName>nfd_d</TargetName>
89
+ <TargetExt>.lib</TargetExt>
90
+ </PropertyGroup>
91
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
92
+ <ClCompile>
93
+ <PrecompiledHeader>NotUsing</PrecompiledHeader>
94
+ <WarningLevel>Level4</WarningLevel>
95
+ <PreprocessorDefinitions>NDEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
96
+ <AdditionalIncludeDirectories>..\..\src\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
97
+ <Optimization>Full</Optimization>
98
+ <FunctionLevelLinking>true</FunctionLevelLinking>
99
+ <IntrinsicFunctions>true</IntrinsicFunctions>
100
+ <MinimalRebuild>false</MinimalRebuild>
101
+ <StringPooling>true</StringPooling>
102
+ </ClCompile>
103
+ <Link>
104
+ <SubSystem>Windows</SubSystem>
105
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
106
+ <OptimizeReferences>true</OptimizeReferences>
107
+ </Link>
108
+ </ItemDefinitionGroup>
109
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
110
+ <ClCompile>
111
+ <PrecompiledHeader>NotUsing</PrecompiledHeader>
112
+ <WarningLevel>Level4</WarningLevel>
113
+ <PreprocessorDefinitions>NDEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
114
+ <AdditionalIncludeDirectories>..\..\src\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
115
+ <Optimization>Full</Optimization>
116
+ <FunctionLevelLinking>true</FunctionLevelLinking>
117
+ <IntrinsicFunctions>true</IntrinsicFunctions>
118
+ <MinimalRebuild>false</MinimalRebuild>
119
+ <StringPooling>true</StringPooling>
120
+ </ClCompile>
121
+ <Link>
122
+ <SubSystem>Windows</SubSystem>
123
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
124
+ <OptimizeReferences>true</OptimizeReferences>
125
+ </Link>
126
+ </ItemDefinitionGroup>
127
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
128
+ <ClCompile>
129
+ <PrecompiledHeader>NotUsing</PrecompiledHeader>
130
+ <WarningLevel>Level4</WarningLevel>
131
+ <PreprocessorDefinitions>DEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
132
+ <AdditionalIncludeDirectories>..\..\src\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
133
+ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
134
+ <Optimization>Disabled</Optimization>
135
+ </ClCompile>
136
+ <Link>
137
+ <SubSystem>Windows</SubSystem>
138
+ <GenerateDebugInformation>true</GenerateDebugInformation>
139
+ </Link>
140
+ </ItemDefinitionGroup>
141
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
142
+ <ClCompile>
143
+ <PrecompiledHeader>NotUsing</PrecompiledHeader>
144
+ <WarningLevel>Level4</WarningLevel>
145
+ <PreprocessorDefinitions>DEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
146
+ <AdditionalIncludeDirectories>..\..\src\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
147
+ <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
148
+ <Optimization>Disabled</Optimization>
149
+ </ClCompile>
150
+ <Link>
151
+ <SubSystem>Windows</SubSystem>
152
+ <GenerateDebugInformation>true</GenerateDebugInformation>
153
+ </Link>
154
+ </ItemDefinitionGroup>
155
+ <ItemGroup>
156
+ <ClInclude Include="..\..\src\common.h" />
157
+ <ClInclude Include="..\..\src\include\nfd.h" />
158
+ <ClInclude Include="..\..\src\nfd_common.h" />
159
+ <ClInclude Include="..\..\src\simple_exec.h" />
160
+ </ItemGroup>
161
+ <ItemGroup>
162
+ <ClCompile Include="..\..\src\nfd_common.c" />
163
+ <ClCompile Include="..\..\src\nfd_win.cpp" />
164
+ </ItemGroup>
165
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
166
+ <ImportGroup Label="ExtensionTargets">
167
+ </ImportGroup>
168
+ </Project>
@@ -0,0 +1,20 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <ItemGroup>
4
+ <Filter Include="include">
5
+ <UniqueIdentifier>{89AF369E-F58E-B539-FEA6-40106A051C9B}</UniqueIdentifier>
6
+ </Filter>
7
+ </ItemGroup>
8
+ <ItemGroup>
9
+ <ClInclude Include="..\..\src\common.h" />
10
+ <ClInclude Include="..\..\src\include\nfd.h">
11
+ <Filter>include</Filter>
12
+ </ClInclude>
13
+ <ClInclude Include="..\..\src\nfd_common.h" />
14
+ <ClInclude Include="..\..\src\simple_exec.h" />
15
+ </ItemGroup>
16
+ <ItemGroup>
17
+ <ClCompile Include="..\..\src\nfd_common.c" />
18
+ <ClCompile Include="..\..\src\nfd_win.cpp" />
19
+ </ItemGroup>
20
+ </Project>
@@ -0,0 +1,182 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <ItemGroup Label="ProjectConfigurations">
4
+ <ProjectConfiguration Include="Release|x64">
5
+ <Configuration>Release</Configuration>
6
+ <Platform>x64</Platform>
7
+ </ProjectConfiguration>
8
+ <ProjectConfiguration Include="Release|Win32">
9
+ <Configuration>Release</Configuration>
10
+ <Platform>Win32</Platform>
11
+ </ProjectConfiguration>
12
+ <ProjectConfiguration Include="Debug|x64">
13
+ <Configuration>Debug</Configuration>
14
+ <Platform>x64</Platform>
15
+ </ProjectConfiguration>
16
+ <ProjectConfiguration Include="Debug|Win32">
17
+ <Configuration>Debug</Configuration>
18
+ <Platform>Win32</Platform>
19
+ </ProjectConfiguration>
20
+ </ItemGroup>
21
+ <PropertyGroup Label="Globals">
22
+ <ProjectGuid>{86EEA43A-F279-12FF-FB8A-95F367956EFF}</ProjectGuid>
23
+ <Keyword>Win32Proj</Keyword>
24
+ <RootNamespace>test_opendialog</RootNamespace>
25
+ </PropertyGroup>
26
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
27
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
28
+ <ConfigurationType>Application</ConfigurationType>
29
+ <UseDebugLibraries>false</UseDebugLibraries>
30
+ <CharacterSet>Unicode</CharacterSet>
31
+ <PlatformToolset>v100</PlatformToolset>
32
+ </PropertyGroup>
33
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
34
+ <ConfigurationType>Application</ConfigurationType>
35
+ <UseDebugLibraries>false</UseDebugLibraries>
36
+ <CharacterSet>Unicode</CharacterSet>
37
+ <PlatformToolset>v100</PlatformToolset>
38
+ </PropertyGroup>
39
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
40
+ <ConfigurationType>Application</ConfigurationType>
41
+ <UseDebugLibraries>true</UseDebugLibraries>
42
+ <CharacterSet>Unicode</CharacterSet>
43
+ <PlatformToolset>v100</PlatformToolset>
44
+ </PropertyGroup>
45
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
46
+ <ConfigurationType>Application</ConfigurationType>
47
+ <UseDebugLibraries>true</UseDebugLibraries>
48
+ <CharacterSet>Unicode</CharacterSet>
49
+ <PlatformToolset>v100</PlatformToolset>
50
+ </PropertyGroup>
51
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
52
+ <ImportGroup Label="ExtensionSettings">
53
+ </ImportGroup>
54
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
55
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
56
+ </ImportGroup>
57
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
58
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
59
+ </ImportGroup>
60
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
61
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
62
+ </ImportGroup>
63
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
64
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
65
+ </ImportGroup>
66
+ <PropertyGroup Label="UserMacros" />
67
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
68
+ <LinkIncremental>false</LinkIncremental>
69
+ <OutDir>..\bin\</OutDir>
70
+ <IntDir>..\obj\x64\Release\test_opendialog\</IntDir>
71
+ <TargetName>test_opendialog</TargetName>
72
+ <TargetExt>.exe</TargetExt>
73
+ </PropertyGroup>
74
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
75
+ <LinkIncremental>false</LinkIncremental>
76
+ <OutDir>..\bin\</OutDir>
77
+ <IntDir>..\obj\x86\Release\test_opendialog\</IntDir>
78
+ <TargetName>test_opendialog</TargetName>
79
+ <TargetExt>.exe</TargetExt>
80
+ </PropertyGroup>
81
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
82
+ <LinkIncremental>true</LinkIncremental>
83
+ <OutDir>..\bin\</OutDir>
84
+ <IntDir>..\obj\x64\Debug\test_opendialog\</IntDir>
85
+ <TargetName>test_opendialog_d</TargetName>
86
+ <TargetExt>.exe</TargetExt>
87
+ </PropertyGroup>
88
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
89
+ <LinkIncremental>true</LinkIncremental>
90
+ <OutDir>..\bin\</OutDir>
91
+ <IntDir>..\obj\x86\Debug\test_opendialog\</IntDir>
92
+ <TargetName>test_opendialog_d</TargetName>
93
+ <TargetExt>.exe</TargetExt>
94
+ </PropertyGroup>
95
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
96
+ <ClCompile>
97
+ <PrecompiledHeader>NotUsing</PrecompiledHeader>
98
+ <WarningLevel>Level3</WarningLevel>
99
+ <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
100
+ <AdditionalIncludeDirectories>..\..\src\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
101
+ <Optimization>Full</Optimization>
102
+ <FunctionLevelLinking>true</FunctionLevelLinking>
103
+ <IntrinsicFunctions>true</IntrinsicFunctions>
104
+ <MinimalRebuild>false</MinimalRebuild>
105
+ <StringPooling>true</StringPooling>
106
+ </ClCompile>
107
+ <Link>
108
+ <SubSystem>Console</SubSystem>
109
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
110
+ <OptimizeReferences>true</OptimizeReferences>
111
+ <AdditionalLibraryDirectories>..\lib\Release\x64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
112
+ </Link>
113
+ </ItemDefinitionGroup>
114
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
115
+ <ClCompile>
116
+ <PrecompiledHeader>NotUsing</PrecompiledHeader>
117
+ <WarningLevel>Level3</WarningLevel>
118
+ <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
119
+ <AdditionalIncludeDirectories>..\..\src\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
120
+ <Optimization>Full</Optimization>
121
+ <FunctionLevelLinking>true</FunctionLevelLinking>
122
+ <IntrinsicFunctions>true</IntrinsicFunctions>
123
+ <MinimalRebuild>false</MinimalRebuild>
124
+ <StringPooling>true</StringPooling>
125
+ </ClCompile>
126
+ <Link>
127
+ <SubSystem>Console</SubSystem>
128
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
129
+ <OptimizeReferences>true</OptimizeReferences>
130
+ <AdditionalLibraryDirectories>..\lib\Release\x86;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
131
+ </Link>
132
+ </ItemDefinitionGroup>
133
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
134
+ <ClCompile>
135
+ <PrecompiledHeader>NotUsing</PrecompiledHeader>
136
+ <WarningLevel>Level3</WarningLevel>
137
+ <PreprocessorDefinitions>DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
138
+ <AdditionalIncludeDirectories>..\..\src\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
139
+ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
140
+ <Optimization>Disabled</Optimization>
141
+ </ClCompile>
142
+ <Link>
143
+ <SubSystem>Console</SubSystem>
144
+ <GenerateDebugInformation>true</GenerateDebugInformation>
145
+ <AdditionalDependencies>nfd_d.lib;%(AdditionalDependencies)</AdditionalDependencies>
146
+ <AdditionalLibraryDirectories>..\lib\Debug\x64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
147
+ </Link>
148
+ <ProjectReference>
149
+ <LinkLibraryDependencies>false</LinkLibraryDependencies>
150
+ </ProjectReference>
151
+ </ItemDefinitionGroup>
152
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
153
+ <ClCompile>
154
+ <PrecompiledHeader>NotUsing</PrecompiledHeader>
155
+ <WarningLevel>Level3</WarningLevel>
156
+ <PreprocessorDefinitions>DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
157
+ <AdditionalIncludeDirectories>..\..\src\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
158
+ <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
159
+ <Optimization>Disabled</Optimization>
160
+ </ClCompile>
161
+ <Link>
162
+ <SubSystem>Console</SubSystem>
163
+ <GenerateDebugInformation>true</GenerateDebugInformation>
164
+ <AdditionalDependencies>nfd_d.lib;%(AdditionalDependencies)</AdditionalDependencies>
165
+ <AdditionalLibraryDirectories>..\lib\Debug\x86;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
166
+ </Link>
167
+ <ProjectReference>
168
+ <LinkLibraryDependencies>false</LinkLibraryDependencies>
169
+ </ProjectReference>
170
+ </ItemDefinitionGroup>
171
+ <ItemGroup>
172
+ <ClCompile Include="..\..\test\test_opendialog.c" />
173
+ </ItemGroup>
174
+ <ItemGroup>
175
+ <ProjectReference Include="nfd.vcxproj">
176
+ <Project>{5D94880B-C99D-887C-5219-9F7CBE21947C}</Project>
177
+ </ProjectReference>
178
+ </ItemGroup>
179
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
180
+ <ImportGroup Label="ExtensionTargets">
181
+ </ImportGroup>
182
+ </Project>