[
https://issues.apache.org/jira/browse/IGNITE-15693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Daschinsky reassigned IGNITE-15693:
----------------------------------------
Assignee: Petr Ivanov
> TC: Change build ODBC installer step to utilize cmake
> -----------------------------------------------------
>
> Key: IGNITE-15693
> URL: https://issues.apache.org/jira/browse/IGNITE-15693
> Project: Ignite
> Issue Type: Improvement
> Reporter: Ivan Daschinsky
> Assignee: Petr Ivanov
> Priority: Major
>
> In order to drop VC projects files, it is required to build ODBC installer in
> release step using cmake. Since IGNITE-15678 have been implemented, it is now
> possible to build installer using cmake only.
> Building installer using cmake (WIX toolset's {{candle.exe}} and
> {{light.exe}} should be in {{%Path%}}):
> * 32-bit version
> {code}
> $ set OPENSSL_ROOT_DIR=C:\openssl\1.1.0l\x86
> $ mkdir cmake-build-release-32
> $ cd cmake-build-release-32
> $ cmake -DWITH_CORE=OFF -DWITH_ODBC=ON -DWITH_ODBC_MSI=ON
> -DCMAKE_BUILD_TYPE=Release -DCMAKE_GENERATOR_PLATFORM=Win32
> -DCMAKE_INSTALL_PREFIX=C:\cpp-staging\x86 ..
> $ cmake --build . --target install --config Release
> {code}
> Installer will be located in {{C:\cpp-staging\x86\bin}}
> * 64-bit version
> {code}
> $ set OPENSSL_ROOT_DIR=C:\openssl\1.1.0l\x86_64
> $ mkdir cmake-build-release-64
> $ cd cmake-build-release-64
> $ cmake -DWITH_CORE=OFF -DWITH_ODBC=ON -DWITH_ODBC_MSI=ON
> -DCMAKE_BUILD_TYPE=Release -DCMAKE_GENERATOR_PLATFORM=x64
> -DCMAKE_INSTALL_PREFIX=C:\cpp-staging\amd64 ..
> $ cmake --build . --target install --config Release
> {code}
> Installer will be located in {{C:\cpp-staging\amd64\bin}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)