diff options
author | Mateusz Janek <stryku2393@gmail.com> | 2016-12-21 14:27:49 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-01-16 15:52:48 (GMT) |
commit | b42330be21c0d3046aa0e6fdf046a492bddef520 (patch) | |
tree | efd6fbbda9401a36000f2c3b265b9d43310348e6 /Tests/SourceGroups/main.c | |
parent | 6154a2cddcdb297b1aef20f501fec9af7d7b5262 (diff) | |
download | CMake-b42330be21c0d3046aa0e6fdf046a492bddef520.zip CMake-b42330be21c0d3046aa0e6fdf046a492bddef520.tar.gz CMake-b42330be21c0d3046aa0e6fdf046a492bddef520.tar.bz2 |
source_group: Add options create groups matching directory tree
Add `TREE` and `PREFIX` arguments to enable this behavior.
Diffstat (limited to 'Tests/SourceGroups/main.c')
-rw-r--r-- | Tests/SourceGroups/main.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/SourceGroups/main.c b/Tests/SourceGroups/main.c index f259f98..b88f2f8 100644 --- a/Tests/SourceGroups/main.c +++ b/Tests/SourceGroups/main.c @@ -5,10 +5,17 @@ extern int bar(void); extern int foobar(void); extern int barbar(void); extern int baz(void); +extern int tree_foo(void); +extern int tree_bar(void); +extern int tree_foobar(void); +extern int tree_baz(void); int main() { printf("foo: %d bar: %d foobar: %d barbar: %d baz: %d\n", foo(), bar(), foobar(), barbar(), baz()); + + printf("tree_foo: %d tree_bar: %d tree_foobar: %d tree_baz: %d\n", + tree_foo(), tree_bar(), tree_foobar(), tree_baz()); return 0; } |