~ubuntu-branches/debian/sid/calligraplan/sid

« back to all changes in this revision

Viewing changes to src/libs/odf/writeodf/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Pino Toscano
  • Date: 2018-02-01 18:20:19 UTC
  • Revision ID: package-import@ubuntu.com-20180201182019-1qo7qaim5wejm5k9
Tags: upstream-3.1.0
ImportĀ upstreamĀ versionĀ 3.1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
set(RNGFILE ${RNG_SOURCE_DIR}/OpenDocument-v1.2-cs01-schema-calligra.rng)
 
2
set(RNGHEADERDIR ${CMAKE_CURRENT_BINARY_DIR})
 
3
 
 
4
#message(STATUS "RNG 'plan_rng2cpp' custom command: ${RNGFILE} to ${RNGHEADERDIR}")
 
5
add_custom_command(
 
6
    OUTPUT ${RNGHEADERDIR}/writeodf.h
 
7
    COMMAND plan_rng2cpp
 
8
    ARGS ${RNGFILE} ${RNGHEADERDIR}
 
9
    DEPENDS plan_rng2cpp ${RNGFILE}
 
10
    WORKING_DIRECTORY ${RNGHEADERDIR}
 
11
)
 
12
add_custom_target(plan_writeodf.h-target DEPENDS writeodf.h)