Commit d90f5711 authored by Jan Möbius's avatar Jan Möbius

Toplevel branding flags

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@16979 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 456e950c
......@@ -72,6 +72,19 @@ SET(OPENFLIPPER_TEST_BINARIES ${CMAKE_BINARY_DIR}/tests/testBinaries )
enable_testing()
# ========================================================================
# Branding Flags
# ========================================================================
if ( EXISTS ${CMAKE_SOURCE_DIR}/branding/branding.cmake )
include(${CMAKE_SOURCE_DIR}/branding/branding.cmake)
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)." )
add_definitions(-DPRODUCT_STRING=${OPENFLIPPER_PRODUCT_STRING})
add_definitions(-DPRODUCT_NAME=${OPENFLIPPER_PRODUCT_NAME})
# ========================================================================
# Core Library Components (Except the Core application)
# ========================================================================
......@@ -181,7 +194,6 @@ if ( APPLE AND NOT DEFINED OPENFLIPPER_BUILD_APP_STORE_COMPLIANT )
set( OPENFLIPPER_BUILD_APP_STORE_COMPLIANT true CACHE BOOL "Enable app store compliant build (No internal update, different paths,...)" )
endif()
# ========================================================================
# Plugins
# ========================================================================
......
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