3 # Makes sure that the library order as specified by the user are
4 # unchanged by dependency analysis, etc. libOne and libTwo are
5 # dependent on each other. The link line should be -lOne -lTwo -lOne.
7 ADD_LIBRARY( One One.c )
8 ADD_LIBRARY( Two Two.c )
10 LINK_LIBRARIES( One Two )
11 ADD_EXECUTABLE( LinkLine Exec.c )