You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
354 B
13 lines
354 B
PROJECT( LinkLine )
|
|
|
|
# Makes sure that the library order as specified by the user are
|
|
# unchanged by dependency analysis, etc. libOne and libTwo are
|
|
# dependent on each other. The link line should be -lOne -lTwo -lOne.
|
|
|
|
ADD_LIBRARY( One One.c )
|
|
ADD_LIBRARY( Two Two.c )
|
|
|
|
LINK_LIBRARIES( One Two )
|
|
ADD_EXECUTABLE( LinkLine Exec.c )
|
|
LINK_LIBRARIES( One )
|