Commit 4382a8b9 authored by Hans-Christian Ebke's avatar Hans-Christian Ebke

Moving branding flags up in root CMakeLists so that the packaging module can use them.


git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@17093 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 937aee4d
......@@ -23,6 +23,19 @@ include (ACGCommon)
acg_get_version (OpenFlipper)
# ========================================================================
# 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})
include (package)
include (ACGOutput)
......@@ -87,19 +100,6 @@ 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)
# ========================================================================
......
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