Revamping the build system (again...)
authorManuel Nickschas <sputnick@quassel-irc.org>
Fri, 23 Jan 2009 23:35:27 +0000 (00:35 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sun, 25 Jan 2009 01:03:32 +0000 (02:03 +0100)
commit36b30b6b8775f5322fad3d1ee99545a07baf9e20
treef16837bf51446523af3cfbc8c1b6eeff64cf181b
parente94adb7dab9f1dfcb9f792912a365e6c72728d82
Revamping the build system (again...)

* LINGUAS can now be a comma-separated list, and it now supports quassel_xx_YY.ts style properly
* Get rid of the options for having builtin icons
* Instead, -DEMBED_DATA=ON will embed all external files into the binary, whereas all files
  will be installed externally if the option is not set
* Data files and icons are now installed into sane locations (needs to be checked on Mac)
* Various improvements and simplifications (yes, I've discovered PARENT_SCOPE now :D)

Note: - Code changes to find files again follow in the next commit
      - -DEMBED_DATA=OFF not supported on Win32 yet, and untested on Mac and for static builds
      - -DWITH_KDE=ON implies -DEMBED_DATA=OFF
12 files changed:
CMakeLists.txt
cmake/modules/QuasselMacros.cmake
data/CMakeLists.txt
data/data.qrc [new file with mode: 0644]
i18n/CMakeLists.txt
icons/CMakeLists.txt
pics/CMakeLists.txt [new file with mode: 0644]
src/CMakeLists.txt
src/common/CMakeLists.txt
src/common/main.cpp
src/core/CMakeLists.txt
src/core/coreapplication.cpp