~gerboland/unity-2d/testability-test

« back to all changes in this revision

Viewing changes to launcher/CMakeLists.txt

  • Committer: Florian Boucault
  • Date: 2010-11-22 20:02:55 UTC
  • mfrom: (284.1.13 installed_uninstalled)
  • Revision ID: florian@boucault.net-20101122200255-0lnolk8l0ybgbb68
Defined new global helpers in config.h:
- bool isRunningInstalled()
- QString unityQtDirectory()
- QString unityQtImportPath()
- UNITY_DIR

Deprecated THEME_DIR.

Simplified the code to get rid of the conditional code paths (if installed do
this else do that) while still supporting both cases entirely.
The 3 components (panel, launcher and dash) can now be launched from anywhere
uninstalled.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
file(GLOB launcher_QML *.qml)
8
8
 
9
9
# Install
10
 
install(FILES ${launcher_QML}
 
10
install(FILES ${launcher_QML} launchermenu.css
11
11
    DESTINATION ${UNITY_QT_DIR}/launcher
12
12
    )
13
13