Document how to make a release build.
This commit is contained in:
committed by
craig.p.drummond
parent
c33e002420
commit
bb9b473219
@@ -23,6 +23,7 @@
|
||||
3. Fix consistency of default button in messageboxes between Qt and KDE builds.
|
||||
4. Unless using a dark toolbar, use same colour for toolbar menu icon as per
|
||||
menu icon in views.
|
||||
5. Document how to make a release build.
|
||||
|
||||
1.0.2.1
|
||||
-------
|
||||
|
||||
13
INSTALL
13
INSTALL
@@ -2,7 +2,7 @@ With KDE Support
|
||||
================
|
||||
1. mkdir build
|
||||
2. cd build
|
||||
3. cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
|
||||
3. cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=Release
|
||||
4. make
|
||||
5. sudo make install
|
||||
|
||||
@@ -11,7 +11,7 @@ Qt4
|
||||
===
|
||||
1. mkdir build
|
||||
2. cd build
|
||||
3. cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_KDE=OFF
|
||||
3. cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DENABLE_KDE=OFF
|
||||
4. make
|
||||
5. sudo make install
|
||||
|
||||
@@ -20,7 +20,7 @@ Qt5
|
||||
===
|
||||
1. mkdir build
|
||||
2. cd build
|
||||
3. cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_KDE=OFF -DENABLE_QT5=ON
|
||||
3. cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DENABLE_KDE=OFF -DENABLE_QT5=ON
|
||||
4. make
|
||||
5. sudo make install
|
||||
|
||||
@@ -30,6 +30,13 @@ CMake Options
|
||||
|
||||
The following options may be passed to CMake:
|
||||
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
Specify install location prefix.
|
||||
|
||||
-DCMAKE_BUILD_TYPE=Release|Debug
|
||||
Specify which type of build. Debug builds will be *much* larger, as
|
||||
they will contain extra debugging information.
|
||||
|
||||
-DCANTATA_TRANSLATIONS=<list of translations to install>
|
||||
Builds and installs the selected translations. Supported values are
|
||||
cs, de, en, es, pl, ko, and all. Entries should be separated with a
|
||||
|
||||
2
README
2
README
@@ -441,7 +441,7 @@ This assumes the following folder structure:
|
||||
need compiling.
|
||||
|
||||
2. Call cmake (e.g.):
|
||||
cmake ../src -G "MinGW Makefiles" -DENABLE_TAGLIB=OFF -DTAGLIB_FOUND=1 -DTAGLIB_INCLUDES=z:/dev/taglib/include -DTAGLIB_LIBRARIES=z:/dev/taglib/lib/libtag.dll.a -DTAGLIB_MP4_FOUND=1 -DTAGLIB_ASF_FOUND=1 -DZLIB_INCLUDE_DIR=z:/dev/zlib/include -DZLIB_LIBRARY=z:/dev/zlib/libz.dll.a -DCMAKE_INSTALL_PREFIX=z:/cantata/install -DCANTATA_WINDOWS_INSTALLER_DEST=z:/cantata -DCANTATA_MINGW_LIBS=z:/dev/MinGW/bin/mingwm10.dll;z:/dev/MinGW/bin/libgcc_s_dw2-1.dll -DCANTATA_OXYGEN_DIR=z:/cantata/oxygen
|
||||
cmake ../src -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release -DENABLE_TAGLIB=OFF -DTAGLIB_FOUND=1 -DTAGLIB_INCLUDES=z:/dev/taglib/include -DTAGLIB_LIBRARIES=z:/dev/taglib/lib/libtag.dll.a -DTAGLIB_MP4_FOUND=1 -DTAGLIB_ASF_FOUND=1 -DZLIB_INCLUDE_DIR=z:/dev/zlib/include -DZLIB_LIBRARY=z:/dev/zlib/libz.dll.a -DCMAKE_INSTALL_PREFIX=z:/cantata/install -DCANTATA_WINDOWS_INSTALLER_DEST=z:/cantata -DCANTATA_MINGW_LIBS=z:/dev/MinGW/bin/mingwm10.dll;z:/dev/MinGW/bin/libgcc_s_dw2-1.dll -DCANTATA_OXYGEN_DIR=z:/cantata/oxygen
|
||||
|
||||
(Note: -DENABLE_TAGLIB=OFF stops cmake from trynig to find TagLib, as the TagLib setting shave been manually set)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user