[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    issue with config generation
From:       Anatoli Gorchetchnikov <anatoli () cns ! bu ! edu>
Date:       2012-06-16 14:54:54
Message-ID: 201206161054.54433.anatoli () cns ! bu ! edu
[Download RAW message or body]

Hi all,

I am trying to follow

http://techbase.kde.org/Development/Tutorials/Using_KConfig_XT

tutorial. I got down to the Use and Dialogs section, and I am expacting to see 
generated .cpp and .h files in my build tree, but I don't. If I run 
kconfig_compiler from command line it does generate the files; configure 
command in KDeveloper ouputs that it finds kconfig_compiler, but somewhy
the build process does not engage it. I attach my CMakeLists.txt and 
kcfg/kcfgc files just in case.

I can surely generate these by hand and live with it, but I rather do it 
automagically... Feels like some minor detail that I have missed somewhere...

Thanks a lot,

Running stock
KDevelop Version 4.2.0
Using KDE Development Platform 4.6.00 (4.6.0) "release 6"
on OpenSuSE 11.4

-- 
Anatoli Gorchetchnikov, PhD
Research Assistant Professor
Neuromorphics Lab
Boston University
677 Beacon St
Boston, MA, 02215

["CMakeLists.txt" (text/x-cmake)]

project(kinness)

add_definitions(-DKDE_DEFAULT_DEBUG_AREA=1032)

include_directories(
	${CMAKE_SOURCE_DIR}/src/kbase
	${CMAKE_SOURCE_DIR}/src/kproject
	${CMAKE_CURRENT_BINARY_DIR}
	${KDE4_INCLUDES} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} 
)

add_subdirectory(kbase)
add_subdirectory(kproject)
add_subdirectory(kvision)
add_subdirectory(kworld)
add_subdirectory(kgeneric)

set(kinness_SRCS
   main.cpp
   kinnessapp.cpp
 )

kde4_add_executable(kinness ${kinness_SRCS})
kde4_add_kcfg_files(kinness_SRCS kinness.kcfgc)

target_link_libraries(kinness kinproject)

########### install files ###############
install(TARGETS kinness ${INSTALL_TARGETS_DEFAULT_ARGS} )
install(PROGRAMS kinness.desktop  DESTINATION  ${XDG_APPS_INSTALL_DIR} )
install(FILES kinnessui.rc  DESTINATION  ${DATA_INSTALL_DIR}/kinness )
install(FILES kinness.kcfg DESTINATION ${KCFG_INSTALL_DIR})

["kinness.kcfgc" (text/plain)]

File=kinness.kcfg
ClassName=KInNeSSConfig
Singleton=true

["kinness.kcfg" (application/xml)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic