summaryrefslogtreecommitdiffstats
path: root/Tests/Dependency/Exec
diff options
context:
space:
mode:
authorAmitha Perera <perera@cs.rpi.edu>2002-05-01 20:24:47 (GMT)
committerAmitha Perera <perera@cs.rpi.edu>2002-05-01 20:24:47 (GMT)
commit36f80fe6c8f7593462c450789b01f4eb37792996 (patch)
tree4c7a81e81780aa96ad9b485269e5af743bf785e2 /Tests/Dependency/Exec
parent1f8df8585ef36aa980d13a0cb6646de399bceff9 (diff)
downloadCMake-36f80fe6c8f7593462c450789b01f4eb37792996.zip
CMake-36f80fe6c8f7593462c450789b01f4eb37792996.tar.gz
CMake-36f80fe6c8f7593462c450789b01f4eb37792996.tar.bz2
ENH: Make the LinkLibraries command contribute dependencies towards AddLibraries.
Diffstat (limited to 'Tests/Dependency/Exec')
-rw-r--r--Tests/Dependency/Exec/CMakeLists.txt4
-rw-r--r--Tests/Dependency/Exec/ExecMain.c6
2 files changed, 6 insertions, 4 deletions
diff --git a/Tests/Dependency/Exec/CMakeLists.txt b/Tests/Dependency/Exec/CMakeLists.txt
index 7214b05..1867b1d 100644
--- a/Tests/Dependency/Exec/CMakeLists.txt
+++ b/Tests/Dependency/Exec/CMakeLists.txt
@@ -1,6 +1,6 @@
ADD_EXECUTABLE( exec ExecMain.c )
-# This executable directly depends on NoDepB, NoDepC and Five. However,
+# This executable directly depends on NoDepB, NoDepC, SixA and SixB. However,
# since NoDepB and NoDepC do not have explicit dependency information,
# and they depend on NoDepA, we have to manually specify that dependency.
-LINK_LIBRARIES( NoDepB NoDepC NoDepA Five )
+LINK_LIBRARIES( NoDepB NoDepC NoDepA SixB SixA )
diff --git a/Tests/Dependency/Exec/ExecMain.c b/Tests/Dependency/Exec/ExecMain.c
index b666a24..d2f551c 100644
--- a/Tests/Dependency/Exec/ExecMain.c
+++ b/Tests/Dependency/Exec/ExecMain.c
@@ -2,11 +2,13 @@
void NoDepBFunction();
void NoDepCFunction();
-void FiveFunction();
+void SixAFunction();
+void SixBFunction();
int main( )
{
- FiveFunction();
+ SixAFunction();
+ SixBFunction();
NoDepBFunction();
NoDepCFunction();