X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=CMakeLists.txt;h=48cb270d440186747b359002f5f896a2e087821e;hb=4ce25d0ddbcfe1111f0adbf63b4d73f19e926d8b;hp=b76abb3776d0dcff11a77d7b3de960e6e16324a5;hpb=eab449dec6b13464db5277c54ac23fc30d896353;p=src%2Fapp-framework-main.git diff --git a/CMakeLists.txt b/CMakeLists.txt index b76abb3..48cb270 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,18 +16,21 @@ # limitations under the License. ########################################################################### -cmake_minimum_required(VERSION 2.8) +project(afm-main C) -project("afm-main" LANGUAGES "C") +cmake_minimum_required(VERSION 2.8) include(GNUInstallDirs) macro(setc name value) if(NOT DEFINED ${name}) - set(${name} "${value}") + set(${name} ${value}) endif(NOT DEFINED ${name}) endmacro(setc) +setc(USE_LIBZIP 1) +setc(USE_SIMULATION 1) + setc(afm_name "aglfwk") setc(afm_confdir "${CMAKE_INSTALL_FULL_SYSCONFDIR}/${afm_name}") setc(afm_datadir "${CMAKE_INSTALL_FULL_DATADIR}/${afm_name}") @@ -50,7 +53,9 @@ defstr(FWK_ICON_DIR "${afm_icondir}") defstr(FWK_APP_DIR "${afm_appdir}") defstr(FWK_USER_APP_DIR "${afm_user_appdir}") defstr(WGTPKG_TRUSTED_CERT_DIR "${wgtpkg_trusted_cert_dir}") +defstr(FWK_LAUNCH_CONF "${afm_confdir}/afm-launch.conf") add_subdirectory(src) +add_subdirectory(conf)