see Line 751 ++ for the list of build targets On Fri, 31 Jan 2025 at 13:38, Paul Harwood <rune...@gmail.com> wrote:
> https://github.com/OSGeo/gdal/blob/master/swig/csharp/CMakeLists.txt > > On Fri, 31 Jan 2025 at 13:36, Parveen Sharma <sharma1...@outlook.com> > wrote: > >> Thanks >> >> Could you please point me to the relevant scripts? >> ------------------------------ >> *From:* Paul Harwood <rune...@gmail.com> >> *Sent:* Friday, January 31, 2025 9:31 PM >> *To:* Parveen Sharma <sharma1...@outlook.com> >> *Cc:* MichaĆ Kowalczuk via gdal-dev <gdal-dev@lists.osgeo.org> >> *Subject:* Re: [gdal-dev] Missing GDALMemDataset , GDALDatasetRasterIOEx >> , VSIMem when GDAL is built with CSHARP Bindings >> >> I have checked and the three .csproj projects that you listed are NOT >> currently being build by the build scripts - because they are not needed >> for the test scripts. You will need to build them yourself. >> >> On Fri, 31 Jan 2025 at 13:23, Paul Harwood <rune...@gmail.com> wrote: >> >> The first question that I would ask is what are you trying to achieve? >> >> DBUILD_APPS=ON will build the standard GDAL apps but does not affect the >> C# trial apps. I think this is the default anyway >> >> DBUILD_CSHARP_BINDINGS=ON will build the c# bindings and the c# trial >> apps. If that is what you are trying to do this should be sufficient. >> >> The directory structure is actually dependent on what is created by >> `dotnet` and can vary a little between platforms but sounds about right. >> >> I have a feeling that when we went to cmake builds, the three apps you >> mentioned mighted have been removed from the build scripts since they are >> not used by the test scripts. I will check but, since they are csproj >> projects you should anyway be able to just build them on top of the >> bindings using `dotnet`. >> >> On Fri, 31 Jan 2025 at 12:56, Parveen Sharma via gdal-dev < >> gdal-dev@lists.osgeo.org> wrote: >> >> Hi >> >> I am building GDAL Master branch ( >> https://github.com/OSGeo/gdal/tree/master/swig/csharp/apps) using CMAKE. >> I am using below flags to build the CSHARP Bindings >> >> <arg value="-DBUILD_CSHARP_BINDINGS=ON"/> >> <arg value="-DBUILD_APPS=ON"/> >> >> However, >> >> >> 1. I notice that in "*RelWithDebInfo*" build mode there is NO "*apps*" >> folder generated in "RelWithDebInfo\swig\csharp" folder. I do see >> individual apps folder like "GDALCreateCopy", "GDALDatasetWrite", >> "GDALInfo" generated though. Is this expected? >> >> >> 2. I DO NOT see the any folder corresponding to *GDALMemDataset , >> GDALDatasetRasterIOEx , VSIMem *in my "RelWithDebInfo\swig\csharp" >> folder even though the source file is present at >> >> >> https://github.com/OSGeo/gdal/blob/master/swig/csharp/apps/GDALMemDataset.cs >> >> >> https://github.com/OSGeo/gdal/blob/master/swig/csharp/apps/GDALDatasetRasterIOEx.cs >> https://github.com/OSGeo/gdal/blob/master/swig/csharp/apps/VSIMem.cs >> >> >> *Am I missing any additional CMAKE Flags. Can you please let me know?* >> >> >> _______________________________________________ >> gdal-dev mailing list >> gdal-dev@lists.osgeo.org >> https://lists.osgeo.org/mailman/listinfo/gdal-dev >> >>
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev