.gitignore: ignore swp files
[src/app-framework-main.git] / CMakeLists.txt
index b76abb3..48cb270 100644 (file)
 # 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)