[prev in list] [next in list] [prev in thread] [next in thread]
List: cmake
Subject: [CMake] Processing new extensions with cmake
From: "Michael Biebl" <mbiebl () gmail ! com>
Date: 2006-04-11 2:13:11
Message-ID: aa76cdac0604101913sb1e1240oa40a6de172cf3f10 () mail ! gmail ! com
[Download RAW message or body]
Hi all,
automake has the nice ability, to define handlers for new extensions.
I currently use that for a project, which builds a binary called
install_service, and this binary is used to process *.ii files and
produce *.i files from that. The resulting *.i files will be
installed.
These rules look like that:
%.i: $(srcdir)/%.ii: $(top_builddir)/tools/install_service
$(top_builddir)/tools/install_service -i $< -o $@
CLEANFILES = *.i
iifiles = test.ii
iconf_DATA = $(iifiles:.ii=.i)
EXTRA_DIST = $(iifiles)
I want to achieve the same with cmake (2.2). Is that possible and how
could I do that?
I already looked at KDE3Macros.cmake/KDE3_ADD_MOC_FILES, but this does
not really work for me because I don't have an exiting executable
target where I simply add an additional source file before building.
I'm grateful for any help,
Michael
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic