<div dir="ltr"><div>Hi all,</div><div><br></div><div>Maybe a dumb question, but what is src/proj.def for? Is this a MSVC only thing?  It looks like something that controls share lib entry points.  I&#39;m not a Windows dev, so maybe that&#39;s why I don&#39;t know what it is.</div><div><br></div><div>Am I missing some location where it&#39;s documented?  The closest I got was:</div><div><br></div><div><a href="https://github.com/OSGeo/proj.4/issues/214">https://github.com/OSGeo/proj.4/issues/214</a><br></div><div><a href="https://github.com/OSGeo/proj.4/pull/355">https://github.com/OSGeo/proj.4/pull/355</a><br></div><div><br></div><div>I&#39;ve been patching my bazel based build that has this file, but it doesn&#39;t seem to be used by anything.</div><div><br></div><div>-kurt</div><div><br></div><div><br></div><div><div>find . -type f | grep -v git | xargs egrep &#39;proj[.]def&#39;</div><div><br></div><div>./ChangeLog:<span style="white-space:pre">        </span>* src/proj.def: add pj_get_spheroid_defn to proj.def. (#214)</div><div>./ChangeLog:<span style="white-space:pre">        </span>* proj.def: added lots of methods, including some private ones used</div><div>./ChangeLog:<span style="white-space:pre">        </span>* src/pj_pr_list.c, proj.def, proj_api.h: Added the pj_get_def()</div><div>./ChangeLog:<span style="white-space:pre">        </span>* src/proj.def: added pj_strerrno and pj_errno as per request from</div><div>./ChangeLog:<span style="white-space:pre">        </span>* Added proj.def to extra_dist in src/Makefile.am.</div><div>./src/lib_proj.cmake:    set(ALL_LIBPROJ_SOURCES ${ALL_LIBPROJ_SOURCES} proj.def )</div><div>./src/Makefile.am:EXTRA_DIST = <a href="http://makefile.vc">makefile.vc</a> proj.def bin_cct.cmake bin_gie.cmake bin_cs2cs.cmake \</div><div>./src/<a href="http://makefile.vc">makefile.vc</a>:<span style="white-space:pre">        </span>link /debug /dll /def:proj.def /out:$(PROJ_DLL) /implib:proj_i.lib \</div><div>./wince/msvc80/projce_dll/projce_dll.vcproj:      &lt;Tool Name=&quot;VCLinkerTool&quot; AdditionalOptions=&quot; /subsystem:windowsce,4.20 /machine:ARM /ARMPADCODE&quot; AdditionalDependencies=&quot;ccrtrtti.lib&quot; OutputFile=&quot;$(OutDir)/proj.dll&quot; LinkIncremental=&quot;2&quot; AdditionalLibraryDirectories=&quot;&quot; ModuleDefinitionFile=&quot;..\..\..\src\proj.def&quot; DelayLoadDLLs=&quot;$(NOINHERIT)&quot; GenerateDebugInformation=&quot;true&quot; ProgramDatabaseFile=&quot;$(OutDir)/proj_dll.pdb&quot; SubSystem=&quot;0&quot; ImportLibrary=&quot;$(OutDir)/proj_i.lib&quot;/&gt;</div><div>./wince/msvc80/projce_dll/projce_dll.vcproj:      &lt;Tool Name=&quot;VCLinkerTool&quot; AdditionalOptions=&quot; /subsystem:windowsce,4.20 /machine:ARM /ARMPADCODE&quot; OutputFile=&quot;$(OutDir)/proj.dll&quot; LinkIncremental=&quot;1&quot; ModuleDefinitionFile=&quot;..\..\..\src\proj.def&quot; DelayLoadDLLs=&quot;$(NOINHERIT)&quot; GenerateDebugInformation=&quot;true&quot; ProgramDatabaseFile=&quot;$(OutDir)/projce_dll.pdb&quot; SubSystem=&quot;0&quot; OptimizeReferences=&quot;2&quot; EnableCOMDATFolding=&quot;2&quot; ImportLibrary=&quot;$(OutDir)/proj_i.lib&quot;/&gt;</div><div>./wince/msvc80/projce_dll/projce_dll.vcproj:        &lt;File RelativePath=&quot;..\..\..\src\proj.def&quot;&gt;</div></div><div><br></div><div><br></div><div><div><br></div></div><div class="gmail_signature"></div>
</div>