-
Notifications
You must be signed in to change notification settings - Fork 0
/
PROJECTINFO.cmake
24 lines (18 loc) · 1.5 KB
/
PROJECTINFO.cmake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
##### PROJECTINFO for CMake
SET( BASELIB "yui" ) # don't change this
##### MAKE ALL NEEDED CHANGES HERE #####
SET( SUBDIRS src ) # set the subdirs where your code is located.
SET( PLUGINNAME "mga-gtk" ) # define the your plugin's name, e.g. {gtk, ncurses-pkg, qt-graph}
SET( LIB_DEPS GTK3 ) # define the plugin's dependecies CMake should look for separated with spaces; libyui-internal deps go in the next line
SET( INTERNAL_DEPS Libyui Libyui-gtk Libyui-mga) # include libyui or it's plugins (if needed), too!
SET( LIB_LINKER yui-mga yui-gtk boost_filesystem boost_system ) # define the libs to link against with their -l name for separated with spaces, e.g. pthread dl; include libyui or it's plugins (if needed), too!
#SET( EXTRA_INCLUDES ) # set include-dir which are not picked by CMake automagically here.
SET( PROGSUBDIR "" ) # define your programm's name if the plugin is made for it, only. e.g. "YaST2" for {gtk,ncurses,qt}-pkg.
SET( URL "http://TODO-mga" )
SET( SUMMARY "Libyui - Mageia extension Gtk User Interface" )
SET( DESCRIPTION "This package contains the Gtk user interface\ncomponent for libYUI Mageia extension.\n" )
## Things to cleanup; probably too yast2 related
SET( YUIQT_THEMEDIR "${CMAKE_INSTALL_PREFIX}/share/YaST2/theme" )
SET( YUIQT_ICONDIR "${CMAKE_INSTALL_PREFIX}/share/YaST2/theme/current" )
SET( YUIQT_LOCALEDIR "${CMAKE_INSTALL_PREFIX}/share/YaST2/locale" )
SET( YUIQT_LANG_FONTS_FILE "${CMAKE_INSTALL_PREFIX}/share/YaST2/data/lang_fonts" )