All pastes #596374 Raw Edit

Untitled

public text v1 · immutable
#596374 ·published 2007-06-29 22:11 UTC
rendered paste body
project (doka)
 
 find_package(KDE4 REQUIRED)
  include_directories( ${KDE4_INCLUDES} )

#ui section
  add_subdirectory(icons)

  set(doka_SRCS  main.cpp formMain.cpp formConf.cpp)
    kde4_add_ui_files(doka_SRCS formMain.ui formConf.ui)
    kde4_automoc(${doka_SRCS})
   
   kde4_add_executable(doka ${doka_SRCS})
   target_link_libraries(doka ${KDE4_KDEUI_LIBS} ${KDE4_KPARTS_LIBS})

## I just want to put formconf.ui on a dir /ui and icons on /icons, additionally would be interesting to have a /core so I can put the code that really put some functionality to my app.