Commit 443cfa08 authored by Hans-Christian Ebke's avatar Hans-Christian Ebke

Added branding header #define to global CMakeList.txt, controllable through CMake variable.

Rationale: This #define indicates the presence of a branding/branding.h header which allows
the injection of arbitrary branding-specific #defines.


git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@17403 383ad7c9-94d9-4d36-a494-682f7c89f535
parent dd0bc998
......@@ -33,9 +33,14 @@ endif()
set( OPENFLIPPER_PRODUCT_STRING "OpenFlipper" CACHE String "Product string used e.g. to determine the config file path. Should only contain alphanumeric characters (no spaces)." )
set( OPENFLIPPER_PRODUCT_NAME "OpenFlipper" CACHE String "Product name used in all visible places (e.g. about box)." )
set( BRANDING_HEADER false CACHE String "Indicate there is a branding.h inside the branding folder.")
add_definitions(-DPRODUCT_STRING=${OPENFLIPPER_PRODUCT_STRING})
add_definitions(-DPRODUCT_NAME=${OPENFLIPPER_PRODUCT_NAME})
if (BRANDING_HEADER)
add_definitions(-DBRANDING_HEADER)
endif ()
include (package)
include (ACGOutput)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment