# @brief
#
-include(core/config.cmake)
-include(dbus/config.cmake)
-include(db/config.cmake)
-include(event/config.cmake)
-include(socket/config.cmake)
-include(rpc/config.cmake)
-include(test/config.cmake)
-include(log/config.cmake)
+# platform.cmake must run earlier than other to generate header file
+INCLUDE(core/platform.cmake)
+INCLUDE(core/config.cmake)
+INCLUDE(dbus/config.cmake)
+INCLUDE(db/config.cmake)
+INCLUDE(event/config.cmake)
+INCLUDE(socket/config.cmake)
+INCLUDE(rpc/config.cmake)
+INCLUDE(test/config.cmake)
+INCLUDE(log/config.cmake)
ADD_SUBDIRECTORY(widget_dao)
ADD_SUBDIRECTORY(widget_interface_dao)
ADD_SUBDIRECTORY(security_origin_dao)
ADD_SUBDIRECTORY(custom_handler_dao)
ADD_SUBDIRECTORY(certificate_dao)
ADD_SUBDIRECTORY(i18n)
-include(utils/config.cmake)
-include(localization/config.cmake)
-include(support/config.cmake)
+INCLUDE(utils/config.cmake)
+INCLUDE(localization/config.cmake)
+INCLUDE(support/config.cmake)
+INCLUDE(ttrace/config.cmake)