diff options
author | Tony Theodore <tonyt@logyst.com> | 2015-09-29 14:01:05 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2015-09-29 14:01:05 (GMT) |
commit | 916d43969f61a2a8b6221cdf9706afe656563666 (patch) | |
tree | 115ac88085cfd3382b07d9cb12fb336bcc88ba18 | |
parent | 6a658bf6eee31481cb8c29227cf27e4605683a66 (diff) | |
parent | 5eb94126a1e33da3646a3ad9edfa7c523a5da75f (diff) | |
download | mxe-916d43969f61a2a8b6221cdf9706afe656563666.zip mxe-916d43969f61a2a8b6221cdf9706afe656563666.tar.gz mxe-916d43969f61a2a8b6221cdf9706afe656563666.tar.bz2 |
Merge pull request #895 from ChristianFrisson/widl-cmake
widl: generation of widl.cmake
-rw-r--r-- | src/widl.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/widl.mk b/src/widl.mk index 602cf29..1c7375b 100644 --- a/src/widl.mk +++ b/src/widl.mk @@ -24,4 +24,8 @@ define $(PKG)_BUILD --prefix='$(PREFIX)' \ --target='$(TARGET)' $(MAKE) -C '$(1)/mingw-w64-tools/widl' -j '$(JOBS)' install + + # create cmake file + echo 'set(CMAKE_WIDL $(PREFIX)/bin/$(TARGET)-$(PKG) CACHE PATH "widl executable")' \ + > '$(CMAKE_TOOLCHAIN_DIR)/$(PKG).cmake' endef |