[mapserver-dev] Issue with CMAKE plugin build
Tamas Szekeres
szekerest at gmail.com
Sun Mar 31 12:22:58 PDT 2013
I also think both USE_ORACLESPATIAL and USE_ORACLE_PLUGIN should be set to
1 but it should be set only when compiling the oraclespatial plugin
component, not the core mapserver. In the core mapserver compilation when
the user sets USE_ORACLE_PLUGIN=1 we should implicitly
set USE_ORACLESPATIAL=0 to avoid the inclusion of the oci code. However in
the plugin module we should keep both settings to 1. Since I'm not a cmake
guru, do we have a simple solution to achieve this result?
Best regards,
Tamas
2013/3/31 thomas bonfort <thomas.bonfort at gmail.com>
> Tamas,
> From the code in maporaclespatial.c both USE_ORACLESPATIAL and
> USE_ORACLE_PLUGIN need to be defined in order for some of the needed code
> to be activated. As there's no reference to the oracle_plugin stuff in the
> unix makefiles, I'll infer that this is a windows only feature and suppose
> that you can handle the dependencies in the cmake files as you wish.
>
> regards,
> thomas
>
>
> On 31 March 2013 12:26, Tamas Szekeres <szekerest at gmail.com> wrote:
>
>> I wanted to build mapserver with oraclespatial support to compile
>> oraclespatial as a plugin, but that doesn't seem to work.
>>
>> Actually when setting WITH_ORACLE_PLUGIN=1, I also require to set
>> WITH_ORACLESPATIAL=1 which causes that oracle is being built in mapserver
>> directly. However, I don't want to build oracle in mapserver directly, just
>> compile the oracle plugin (dll).
>>
>> IMHO we should be able to set the combination: WITH_ORACLESPATIAL=0 and
>> WITH_ORACLE_PLUGIN=1. In this case we should get an additional module
>> generated by cmake to compile the oracle plugin separately.
>>
>> The same should apply to the SDE and MSSQL plugins too.
>>
>> Best regards,
>>
>> Tamas
>>
>>
>> _______________________________________________
>> mapserver-dev mailing list
>> mapserver-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20130331/15b578fd/attachment.html>
More information about the mapserver-dev
mailing list