summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Fix cmake warning under external flow (#3730)Andrii Kalinich (GitHub)2021-07-221-0/+1
| | | * Established the new policy for CMP0054 and added if and else for different Policy values
* Fix/remove hmi ptu decryption flag (#3728)Collin2021-06-291-12/+0
| | | | | | | * remove references to ENABLE_HMI_PTU_DECRYPTION and USE_HMI_PTU_DECRYPTION * merge policy manager parse and parsearray methods * remove references from CMakeLists.txt
* Feature/GitHub actions ci (#3701)JackLivio2021-05-211-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Test github action * Build Core * Fix path * Add submodules * Move path * Debug policy cmake paths * Debug lines * Change build directory * Print sources * Change core path * ls debug * Log cmake version * Try ubuntu 18 * Set Cmake version * Change cmake depdency * Remove version wildcard * Debug collect sources * More debug messages * Check filtered files * Remove bad policy path exclude * Try caching 3rd party * Fix env var * Update 3rd party path * Fix path * Remove env var * Fix space * Update path * Update core path * Fix boost install path * Add 3rd party arch path * Set LD_LIBRARY_PATH * Add check style * Fix cache path * Update README badge status * Move 3rd party build path * Remove Travis * Move cache call earlier * Fix syntax * Conditional mkdir * Add debug line * Add logs * Fix syntax * Fix syntax * Remove log lines * Use boost logger * Update cache * Remove -j * Top level boost include * Adjust boost includes * Remove boost logger * Invalidate cache * Update CMakeLists.txt * Update CMakeLists.txt * Update CMakeLists.txt * Update CMakeLists.txt * Update sdl_core_github_ci.yml * Update CMakeLists.txt * Update CMakeLists.txt * Update CMakeLists.txt * Add pull request action
* Feature/Boost Logger Implementation (#3571)Shobhit Adlakha2021-04-301-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement 3rd-party Boost logger * Add boost log config file * Implement log filtering and formatting for the different sinks * Fix Timestamp calculation * Fix function trace string * Implement setting to disable particular sinks * Add append option to file sinks * Telnet logger configuration * Add cmake flag to switch beetween loggers * Remove log4cxx appender include * Style fix * Modify BoostLogConfig file for tests to match the log4cxx properties file * Exclude log4cxx related libraries * Address review comments * Add changes to only install boost log if the correct LOGGER_NAME is set * Fix implementation for removing disabled sinks * Add note for isEnabledFor function * Address review comment * Fix smartobject linking error * Address review comments
* Feature/Web Engine support (#3221)Alexander Kutsan (GitHub)2020-02-271-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add ini file parameters for WebEngineSupport Issue : #3197 * Add Server WebSocket transport * Policy changes for Web Engine support Issue : #3197 * Changes in HMI_API for WebEngineSupport Issue : #3197 * Add application manager implementation for WebEngineSupport Add appropriate commands Make changes in application manager Issue : #3197 * Bug fix : Do not override message params if request setups it * Update SDD * fixup! Add application manager implementation for WebEngineSupport * fixup! Add Server WebSocket transport * Rename websocket dir to websocket_server * Rename WebSocketTransport adapter to WebSocketServerTransportAdapter * fixup! Update SDD * Fix/update app list after unregistration (#3252) * fixup! Rename WebSocketTransport adapter to WebSocketServerTransportAdapter * fixup! Rename websocket dir to websocket_server * Don't remove enabled WebEngine apps from pending apps * Rework WebEngine device ID generation * Fix build after back merge * Fix get app properties (#3258) Co-authored-by: Maksym Ked (GitHub) <41471947+mked-luxoft@users.noreply.github.com> * Remove unused vin_code variable Co-authored-by: Maksym Ked (GitHub) <41471947+mked-luxoft@users.noreply.github.com> Co-authored-by: Andriy Byzhynar (GitHub) <AByzhynar@luxoft.com> Co-authored-by: Ira Lytvynenko (GitHub) <ILytvynenko@luxoft.com> Co-authored-by: Andrii Kalinich (GitHub) <AKalinich@luxoft.com>
* Add the ability to use IAP2 transport from build flags (#3219)Serhii Niukalov (GitHub)2020-02-251-0/+6
|
* [SDL 0173] - Read Generic Network Signal Data Implementation (#2977)Alexander Kutsan (GitHub)2019-08-301-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Generate policy enums from MOBILE_API Policy manager HMI level enum reorder * Add RPC vehicle data and endpoint_properties to sdl_preloaded_pt Set default version of custom vehicle data mapping * Add VehicleDataItem to policy table SQL storage implementation for VehicleDataItems Fix validation of double values in policy table Change isDouble to isNumeric during validation double values "0" should be validated as correct double value Add validation vehicle data during PTU Send in PT snapshot only version of custom VDI - During snapshot generation remove vehicle data items section - Add validation for Policy table depended on PT type Fix wrong check for vehicle data snapshot Allow empty vehicle data in PTU Change max value of string for URL from 255 to INT_MAX * Make Policy Handler forward declared to avoid high coupling * Add vehicle_info_command_params for vehicle info plugin Vehicle info params added to hmi commands * Process CustomVehicleData in GetVehicleData request * CustomVehicleDataManager implementation * Process Custom vehicle data subscriptions Refactored code. Extracted CheckFrequency to separate method in class * Check update of content of functional groups Fixes https://github.com/smartdevicelink/sdl_core/issues/2962 Add additional check for functional group content before OnPermissionChangeNotification. * rename comparing functions to make more clear their return value sense * change variable names * extra check for null values in HasNewGroups() New unit test to cover changes within functional group * Add GetPolicyConfigurationData GetPolicyCOnfigurationData Implementation * Add CustomVehicleData functionality for POLICY_EXTERNAL flow Change max value url for external policy fixes for external flow * since unti validation for the database * empty vehicle data validation * Convert data_type to VehicleDataType enum value * Validation of VehicleDataItem name and key Introduces validation of vehicle_data_item name and key validation: * they should not contain spaces; * they should not be empty or consist only spaces; * they should not contain invalid chars like '!@#$%^&*'. * Add engineOilLife to HMI_API * Remove deprecated RPC GetUrls due to major version update * Add ability to extend Smart schema with parameters Extract SMember from CObjectSchemaItem Add methods to ISchemaItem (Using composite pattern) - GetMemberSchemaItem - AddMemberSchemaItem Add implementation of VehicleDataItemSchema class Add appropriate unit tests Add creation of vehicle_data items schemes on policy event
* Fix shutdown crash static var colission (#2939)Alexander Kutsan (GitHub)2019-08-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add apropriate destruction of plugins Add Delete exported function to each rpc plugin library Delete funciton will destroy Plugin instance. Move type defenition of PluginPtr to Plugin manager, because other components should use olugins only by referance. Add custom destructor for PluginPtr. custom destructor will call `Delete` function from shared library for plugin instance and unload plugin dl_handle. Deprecate GetPlugins method because it not used (and actualy shouldnt) by other components. Refactored LoadPlugin function, make it more readable, make this function as private RPCPluginManagerImpl private method. * Fix components dependencies after hiding libraries symbols * Add `-fvisibility=hidden` to avoid collision of static variables Remove from ABI all shared objects members except functions that needed. Fixes double destruction crash on shutdown. For the case if dynamically linked library contains same static variables as binary. System allocates the same memory for both static variables (in shared object and in binary). But during exit both binary and shared object destroying this memory. Mostly is a specific for binaries generated by gcc compiler. Inspired by https://stackoverflow.com/questions/3570355/c-fvisibility-hidden-fvisibility-inlines-hidden http://gcc.gnu.org/wiki/Visibility * Link Policy code statically SDL components like Application manager Connection Handler, etc ... requires symbols from policy library. Also policy library loaded by SDL in run-time as shared library. Having same library loaded as dynamic and shared library is definitely bad idea. This commit link extract static policy component and link policy component statically to other components. * Static linkage of plugins code un plugins unit tests Unit tests need to be portable and should not depend from dynamic libraries * Put logs_enabled_ "default" visibility attribute Logs enables is static variable and it should be shared across libraries. On SDL start if set_enabled_logs should put value shared across libraries * Changed the order of destruction of objects Changed the order of destruction of objects to avoid the crash during destruction of the RequestController. * Change the order of the waiting and finishing thread Applications using hotplug support should stop the thread at program exit and wait finishing thread after calling libusb_hotplug_deregister_callback. This call wakes up libusb_handle_events () http://libusb.sourceforge.net/api-1.0/group__libusb__asyncio.html * fixup! Add apropriate destruction of plugins * Make saftly usage of logger Added usage unique_ptr for LogMessageLoopThread to avoid the crash when delete_log_message_loop_thread was not fired.
* Fix build when ENABLE_LOG=OFF and BUILD_TESTS=ON (#2863)Jacob Keeler2019-03-291-1/+2
| | | | | | * Change cmake flags to exclude some warnings from -Werror * Fix build failures with ENABLE_LOG=OFF and BUILD_TESTS=ON
* Initial Cloud Transport ComponentJackLivio2018-11-081-0/+6
|
* Change CMake flags to include deprecated warningsJacob Keeler2018-07-171-1/+1
|
* Remove DBus from projectJacob Keeler2018-07-101-12/+0
|
* Remove remote control flagIra Lytvynenko (GitHub)2018-06-261-13/+1
|
* Add ENABLE_HMI_PTU_DECRYPTION flag to build_config.txtfeature/deliver_build_configJackLivio2018-05-101-1/+7
|
* Move build config sectionJackLivio2018-05-101-57/+54
| | | | Fix so build_config.txt will be created before cmake attempts to copy it into the build direcotry.
* Deliver Build Config ImplementationJackLivio2018-05-091-0/+54
|
* Merge branch 'develop' into hotfix/dynamically_link_librarieshotfix/dynamically_link_librariesJackLivio2018-02-021-39/+4
|\
| * Remove references to QT HMIfeature/remove_qt_hmijacobkeeler2018-02-011-39/+4
| |
* | Fix DBus Buildjacobkeeler2018-01-301-0/+4
| |
* | Remove Dbus and Iap librariesJackLivio2018-01-211-1/+0
|/ | | | Fix compilation error for build dbus and removes the dbus library from the core project. Dbus is still supported but now Core will not install it on the users system.
* Arhitecture changes for support RC pluginAlexander Kutsan2017-08-161-1/+18
|
* Switch off ditcc build by defaultAlexander Kutsan2017-08-161-1/+1
|
* Add BSON library to 3rd party libsjacobkeeler2017-07-251-0/+2
|
* Set Debug as default buildAlex Kutsan2017-05-161-6/+2
| | | | | | | In case if CMAKE_BUILD_TYPE didn't set, set CMAKE_BUILD_TYPE=Debug Note: Cotire incorrectly create united file in case if CMAKE_BUILD_TYPE is empty
* Change policies path and fix params method usageAlex Kutsan2017-01-181-4/+32
|\
| * Aligned naming of EXTENDED_POLICY modesAndrey Oleynik2016-12-131-1/+1
| | | | | | | | Relates-to: APPLINK-25462
| * Renames EXTENDED_POLICY definition to PROPRIETARY_MODE to avoid confusionAndrey Oleynik2016-12-131-1/+1
| | | | | | | | | | | | | | | | Currently there are three modes HTTP, PROPRIETARY, EXTERNAL_PROPRIETARY for option named like EXTENDED_POLICY, so in order to avoid confusion with option name definition has been renamed. Relates-to: APPLINK-25462
| * Change message of HTTP policiesAlexander Kutsan2016-12-051-3/+3
| |
| * Adds combobox for CMake UI, fixes typoAndrey Oleynik2016-12-051-1/+2
| |
| * Renames policy_premium folder to policy_externalAndrey Oleynik2016-12-051-3/+3
| |
| * Changes EXTENDED_POLICY to EXTERNAL_POLICYAndrey Oleynik2016-12-051-4/+4
| | | | | | | | | | | | Also renames folder from 'policy_premium' to 'policy_external' Closes-bug: APPLINK-30334
| * Fix usages of policy in codeAlexander Kutsan2016-12-051-5/+26
| |
* | Refactor CMake filesIvo Stoilov (GitHub)2017-01-121-363/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge components refactoring from Windows port barnch - add cmake tools - refactor protocol handler CMakeLists.txt file - refactor interfaces CMakeLists.txt file - refactor smart object CMakeLists.txt file - refactor formatters CMakeLists.txt file - refactor config profile CMakeLists.txt file - refactor policy CMakeLists.txt file - refactor resumption CMakeLists.txt file - refactor connection handler CMakeLists.txt file - refactor application manager CMakeLists.txt file - refactor security manager CMakeLists.txt file - refactor dbus CMakeLists.txt file - refactor hmi message handler CMakeLists.txt file - refactor transport manager CMakeLists.txt file - refactor utils CMakeLists.txt file - refactor components root CMakeLists.txt file - refactor utils CMakeLists.txt file - refactor components root CMakeLists.txt file - refactor media manager CMakeLists.txt file - refactor telemetry monitor CMakeLists.txt file - refactor appmain CMakeLists.txt file - refactor plugins CMakeLists.txt file - refactor 3rd party CMakeLists.txt files - create cmake helper for interface generation - refactor root CMakeLists.txt file Move cmake modules to tools Rename src/3rd_party-static/MessageBroker to message_broker Related tasks APPLINK-30588 APPLINK-30972
* | Revert "Fix/cmake files refactoring"revert-1144-fix/cmake_files_refactoringAlexander Kutsan (GitHub)2017-01-051-68/+364
| |
* | Apply code review commentsIvo Stoilov (GitHub)2017-01-031-11/+3
| | | | | | | | | | | | | | | | | | | | Fixed changed to .travis.yml Restored build configuration defaults Put back/remove files changed with refactoring Reverted changes related to MSCV Removed changes related to QT_PORT Related taks APPLINK-30588 APPLINK-30972
* | Refactor CMake filesIvo Stoilov (GitHub)2016-12-301-367/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge components refactoring from Windows port barnch - add cmake tools - refactor protocol handler CMakeLists.txt file - refactor interfaces CMakeLists.txt file - refactor smart object CMakeLists.txt file - refactor formatters CMakeLists.txt file - refactor config profile CMakeLists.txt file - refactor policy CMakeLists.txt file - refactor resumption CMakeLists.txt file - refactor connection handler CMakeLists.txt file - refactor application manager CMakeLists.txt file - refactor security manager CMakeLists.txt file - refactor dbus CMakeLists.txt file - refactor hmi message handler CMakeLists.txt file - refactor transport manager CMakeLists.txt file - refactor utils CMakeLists.txt file - refactor components root CMakeLists.txt file - refactor utils CMakeLists.txt file - refactor components root CMakeLists.txt file - refactor media manager CMakeLists.txt file - refactor telemetry monitor CMakeLists.txt file - refactor appmain CMakeLists.txt file - refactor plugins CMakeLists.txt file - refactor 3rd party CMakeLists.txt files - create cmake helper for interface generation - refactor root CMakeLists.txt file Move cmake modules to tools Related taks APPLINK-30588 APPLINK-30972
* | Remove MqueueAdapter from CMakeLists and life_cycleLitvinenkoIra2016-12-271-11/+0
|/ | | | Deleted Mqueue Adapter from HMIMessageHandler component because it's unused code.
* Add distcc and ccache as cmake optionsAlexander Kutsan2016-11-111-0/+33
| | | | Related to: APPLINK-29754
* Add Gold Linker usage by defaultHerasym Oleh2016-11-111-0/+13
| | | | Related: APPLINK-29754
* Apply single compilation unit builds for commands_testSergey Levchenko (GitHub)2016-11-101-1/+1
| | | | | | | | Single compilation unit builds has been applied for am_commands_test target, to reduce compilation time. Related to: APPLINK-29754
* Merge pull request #722 from smartdevicelink/hotfix/cmake_check_for_udev_opensslJackLivio2016-09-231-0/+2
|\ | | | | Check for OpenSSL and UDev while running cmake
| * Check for OpenSSL and UDev while running cmakehotfix/cmake_check_for_udev_opensslJacob Keeler2016-07-261-0/+2
| |
* | Fix post-merge issuesArtem Nosach2016-05-201-1/+1
| |
* | Merge remote-tracking branch 'upstream/master' into developagaliuzov2016-05-161-0/+5
|\ \ | |/
| * Adds extended policy flag to CMakeAndrey Oleynik2016-04-111-0/+5
| | | | | | | | Implements: APPLINK-22313
* | Use compiler from environment variablesAlexander2016-04-211-0/+3
| |
* | TimeTester refatctoring.Kozoriz2016-03-101-3/+3
| | | | | | | | | | | | | | | | | | | | Removed singletone using from TimeTester. TimeTester renamed -> TelemetryMonitor. All files and directories corrected. Tests corrected, all works. Disabled 2 tests(task created). Related to : APPLINK-21915
* | Delete part of SDL code that uses AVAHIHerasym Oleh2016-01-271-10/+0
| | | | | | | | | | Related: APPLINK-14640
* | CMakeFiles update for security_test workingKozoriz2015-12-231-0/+3
| | | | | | | | | | Updated main CMakeFile Updated CMakeFile in security_manager/test/ dir.
* | Add ENABLE_TESTS enviromentvariableAlexander Kutsan2015-11-241-119/+127
| | | | | | | | | | | | Now if ENABLE_TESTS enviroment variable is TESTS_ON SDL will be builded with unit tests. This option is need for build server