qt - Compile a kernel module using qmake project -
i have following project structure:
/ general.pro a/ a.pro files b/ b.pro files c/ makefile files
general.pro
template=subdirs
style qmake-project. 2 other project files normal/common qmake project files (folder , b). third folder (folder c) contains kernel module following makefile
: http://pastebin.com/bv39d6kk
i'm wondering if makefile
can translated somehow qmake project file. if not, there way the general.pro
project file there "c" folder containing makefile should ran too?
regards
i doubt, can include makefile in .pro file.
here thoughts can do:
- if
c
project, create 1 more .pro file it. - if not, , don't need edit it, build without including subdirs (if it's library, using in
a
orb
, still can build it, , create .pri file , add includes , libs etc). - if need build machine or deploying, use build script.
- you use
cmake
.
update:
it turns out, there solution.
though, not make work myself, hope helps. need add following lines top-level pro file:
mytarget.commands = make -c c qmake_extra_targets += mytarget pre_targetdeps += mytarget
where c
name of sub-directory, containing makefile
.
Comments
Post a Comment