summaryrefslogtreecommitdiffstats
path: root/tests/cpp-compile-test.cpp
diff options
context:
space:
mode:
authorGiulio Camuffo <giuliocamuffo@gmail.com>2015-04-29 16:46:51 +0300
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>2015-04-30 15:18:45 +0300
commite799b1fa9cfd31b541ed5bd184abd1b2e169b61b (patch)
tree67caf9d556151afbc3f0bc4f6972a3be9d16dd27 /tests/cpp-compile-test.cpp
parentwayland-egl: add a core header (diff)
downloadwayland-e799b1fa9cfd31b541ed5bd184abd1b2e169b61b.tar
wayland-e799b1fa9cfd31b541ed5bd184abd1b2e169b61b.tar.gz
wayland-e799b1fa9cfd31b541ed5bd184abd1b2e169b61b.tar.bz2
wayland-e799b1fa9cfd31b541ed5bd184abd1b2e169b61b.tar.lz
wayland-e799b1fa9cfd31b541ed5bd184abd1b2e169b61b.tar.xz
wayland-e799b1fa9cfd31b541ed5bd184abd1b2e169b61b.tar.zst
wayland-e799b1fa9cfd31b541ed5bd184abd1b2e169b61b.zip
scanner: add a new --include-core-only option
When using this new option the generated code will include the new core headers instead of the old ones. The default needs to remain unchanged for backward compatibility with old code. With this change the generated headers will now forward declare all types and interfaces it uses; that is needed when generating headers for a my-extension.xml with --include-core-only, since it may use types defined in wayland.xml. The same is done also without --include-core-only, since it is an harmless change. getopt_long() is used for the option handling. Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Diffstat (limited to 'tests/cpp-compile-test.cpp')
0 files changed, 0 insertions, 0 deletions