X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=README.md;h=b9bc6ae28aebfc37fb16f74f9f18c0e442abc919;hp=5bf77eaeefb17ccfceee905ece15fe2bfe8b21cc;hb=HEAD;hpb=2e2f6d4e2ffe1c8b86c812807f0e501ab78f56f9 diff --git a/README.md b/README.md index 5bf77ea..b9bc6ae 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,16 @@ You could use my pre-commit specific template if you want to do some basic check ## Build project +### With docker + +Architectures 'x86_64' and 'armv7l' are supported. Execute: + + > tools/build-with-docker [variant: [Release]|Debug] + +Note: database resources building is unsupported at the moment using docker. + +### Natively + This is a CMake based building suite. Install cmake: @@ -30,6 +40,10 @@ You could specify type of build, 'Debug' or 'Release', for example: > cmake -DCMAKE_BUILD_TYPE=Debug . > cmake -DCMAKE_BUILD_TYPE=Release . +You could avoid database resources compilation to ease the add of requirements: + + > cmake -DSKIP_DATABASE_BUILD=1 . + ## Clean project > make clean @@ -58,12 +72,18 @@ You could specify type of build, 'Debug' or 'Release', for example: > sudo apt-get install libmysqlclient-dev ### Oracle: - https://help.ubuntu.com/community/Oracle%20Instant%20Client + Go to https://help.ubuntu.com/community/Oracle%20Instant%20Client and download development packages: + + For example: + + > wget https://download.oracle.com/otn_software/linux/instantclient/19600/oracle-instantclient19.6-devel-19.6.0.0.0-1.x86_64.rpm + > sudo alien -i oracle-instantclient19.6-devel-19.6.0.0.0-1.x86_64.rpm + + (probably basic & sqlplus is also needed) - After instalation of basic/sqlplus/devel, edit CMakeLists.txt - and update oracle includes, for example: + Edit CMakeLists.txt and update oracle includes, for example: - include_directories(/usr/include/oracle//client64/include) + > include_directories(/usr/include/oracle//client64/include) ### Oracle-OpenLDAP conflict: as usual, Oracle is doing things very bad. Move the ldap.h from oracle includes, i.e.: