ui Build order with ninja

Artur Bać artur at ebasoft.com.pl
Fri Jan 11 08:38:01 UTC 2013


Hello.
Im building kdevplatform with ninja on windows.
I had to change order in sources list to allow generate ui_*.h files
before they are included later in .cpp
In original order cpp are before ui and with nija i got errors that
ui_*.h files are missing.

plugins/filetemplates

set(kdevfiletemplates_PART_SRCS
)

kde4_add_ui_files(kdevfiletemplates_PART_SRCS
    templatepreviewtoolview.ui
    ui/classmembers.ui
    ui/classoptions.ui
    ui/licensechooser.ui
    ui/newclass.ui
    ui/outputlocation.ui
    ui/overridevirtuals.ui
    ui/templateselection.ui
    ui/testcases.ui
)

set(kdevfiletemplates_PART_SRCS
    ${kdevfiletemplates_PART_SRCS}
    templatepreview.cpp
    templatepreviewtoolview.cpp
    filetemplatesplugin.cpp

    classidentifierpage.cpp
    classmemberspage.cpp
    defaultcreateclasshelper.cpp
    licensepage.cpp
    outputpage.cpp
    overridespage.cpp
    templateclassassistant.cpp
    templateoptionspage.cpp
    templateselectionpage.cpp
    testcasespage.cpp
)


More information about the KDevelop-devel mailing list