Commit 51a46fb4 authored by Jan Möbius's avatar Jan Möbius

Added flag OPENFLIPPER_CALL_FIX_BUNDLE to disable bundle creation on mac os

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@14503 383ad7c9-94d9-4d36-a494-682f7c89f535
parent dc5de615
......@@ -176,8 +176,14 @@ if (WIN32 )
endif(WIN32)
# ========================================================================
# Apple Mac Store Flags
# ========================================================================
if ( APPLE AND NOT DEFINED OPENFLIPPER_CALL_FIX_BUNDLE )
set( OPENFLIPPER_CALL_FIX_BUNDLE true CACHE BOOL "After building OpenFlipper, a bundle creation step is executed (which copies all dependencies into the bundle) to create a valid MacOs Bundle." )
endif()
if (APPLE)
if (APPLE AND OPENFLIPPER_CALL_FIX_BUNDLE)
# prepare bundle generation cmake file and add a build target for it
configure_file ("${CMAKE_SOURCE_DIR}/OpenFlipper/cmake/fixbundle.cmake.in"
"${CMAKE_BINARY_DIR}/fixbundle.cmake" @ONLY IMMEDIATE)
......
......@@ -129,7 +129,9 @@ br />
<li> Extract the source code or get it via svn:<br />
<code><b> svn co http://www-i8.informatik.rwth-aachen.de/svnrepo/OpenFlipper/branches/Free OpenFlipper</b></code></li>
<li> Create a build directory (e.g. <b>build</b>) in the toplevel directory: <code><b>mkdir build</b></code></li>
<li> Change to the newly created directory ( <code><b>cd build</b></code> ) and type <code><b>cmake ..</b></code> or if you want to build in release mode type <code><b> cmake -DCMAKE_BUILD_TYPE=Release ..</b></code></li>
<li> Change to the newly created directory ( <code><b>cd build</b></code> ) and type <code><b>cmake ..</b></code> or if you want to build in release mode type <code><b> cmake -DCMAKE_BUILD_TYPE=Release ..</b></code>
<br />
You can also disable bundle creation by adding -DOPENFLIPPER_CALL_FIX_BUNDLE=false to the cmake command line(If you want to create installer packages you need this step!) </li>
<li> Now call <b>make</b> to build OpenFlipper </li>
</ul>
......
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