~cairo-dock-team/cairo-dock-plug-ins/plug-ins

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: fabounet
  • Date: 2010-05-09 02:05:37 UTC
  • Revision ID: fabounet03@gmail.com-20100509020537-235d0gr1vu5u1d67
updated to match the core API

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
########### project ###############
11
11
 
12
12
project ("cairo-dock-plugins")
13
 
set (VERSION "2.1.4-0beta1")
 
13
set (VERSION "2.2.0-0beta0")
14
14
set (CPACK_SOURCE_GENERATOR "TGZ")
15
15
set (CPACK_SOURCE_PACKAGE_FILE_NAME "${CMAKE_PROJECT_NAME}-${VERSION}")
16
16
set (CPACK_SOURCE_IGNORE_FILES "/build/;/.bzr/;/.deps/;/Makefile$;/Makefile.in$;.conf$;.gmo$;/.libs/;.lo$;.la$;/POTFILES$;/stamp-it$;/aclocal.m4$;/config.guess$;/config.h$;/config.h.in$;/config.log$;/config.status$;/config.sub$;/configure$;/depcomp$;/install-sh$;/libtool$;/ltmain.sh$;/missing$;/stamp-h1$;^compile;/CMakeFiles/;/_CPack_Packages/;/autom4te.cache/;/install_manifest.txt$;.tar.gz$;/CMakeCache.txt$;.cmake$;~$;${CPACK_SOURCE_IGNORE_FILES}")
709
709
#       ChangeLog\
710
710
#       copyright
711
711
#
 
712
 
 
713
############# TOTO #################
 
714
if ("${enable-toto}" STREQUAL "yes")
 
715
set (GETTEXT_TOTO ${GETTEXT_PLUGINS})
 
716
set (VERSION_TOTO "0.0.1")
 
717
set (PACKAGE_TOTO "cd-Toto")
 
718
set (logoutdatadir "${pluginsdatadir}/Toto")
 
719
configure_file (Toto/data/Toto.conf.in ${CMAKE_CURRENT_SOURCE_DIR}/Toto/data/Toto.conf)
 
720
add_subdirectory (Toto)
 
721
endif()
 
722
 
 
723
############# INDICATOR_MENUS #################
 
724
if ("${enable-indicator_menus}" STREQUAL "yes")
 
725
set (GETTEXT_INDICATOR_MENUS ${GETTEXT_PLUGINS})
 
726
set (VERSION_INDICATOR_MENUS "0.0.1")
 
727
set (PACKAGE_INDICATOR_MENUS "cd-Indicator-Menus")
 
728
set (logoutdatadir "${pluginsdatadir}/Indicator-Menus")
 
729
configure_file (Indicator-Menus/data/Indicator-Menus.conf.in ${CMAKE_CURRENT_SOURCE_DIR}/Indicator-Menus/data/Indicator-Menus.conf)
 
730
add_subdirectory (Indicator-Menus)
 
731
endif()