~midori/midori/trunk

« back to all changes in this revision

Viewing changes to extensions/CMakeLists.txt

  • Committer: Christian Dywan
  • Date: 2015-03-15 17:20:46 UTC
  • mto: This revision was merged to the branch mainline in revision 6891.
  • Revision ID: christian@twotoasts.de-20150315172046-zi7thjvpb13mmdmj
Clean up vapi dependency

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
                ${PKGS}
61
61
            OPTIONS
62
62
                ${VALAFLAGS}
 
63
                --use-header="${CMAKE_PROJECT_NAME}-core.h"
 
64
            GENERATE_HEADER
 
65
                "${UNIT_SRC}"
63
66
            GENERATE_HEADER
64
67
                ${UNIT}
65
68
            CUSTOM_VAPIS
66
69
                ${EXTRA_VAPIS}
67
70
                "${CMAKE_SOURCE_DIR}/midori/midori.vapi"
68
 
                "${CMAKE_SOURCE_DIR}/katze/katze.vapi"
69
71
                "${CMAKE_BINARY_DIR}/midori/${LIBMIDORI}.vapi"
70
72
            )
71
73
            set(UNIT_FILES ${UNIT_FILES} ${UNIT_SRC_C})
104
106
            ${PKGS}
105
107
        OPTIONS
106
108
            ${VALAFLAGS}
 
109
            --use-header="${CMAKE_PROJECT_NAME}-core.h"
107
110
        GENERATE_HEADER
108
111
            ${UNIT}
109
112
        CUSTOM_VAPIS
110
113
            ${EXTRA_VAPIS}
111
114
            "${CMAKE_SOURCE_DIR}/midori/midori.vapi"
112
 
            "${CMAKE_SOURCE_DIR}/katze/katze.vapi"
113
115
            "${CMAKE_BINARY_DIR}/midori/${LIBMIDORI}.vapi"
114
116
        )
115
117
        add_library(${UNIT} MODULE ${UNIT_SRC_C})