mirror of
https://github.com/reactos/CMake.git
synced 2024-12-04 01:22:28 +00:00
13 lines
354 B
CMake
13 lines
354 B
CMake
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 )
|