swh:1:snp:3cba5856b0ddc3feab6c3c2d096d614b02c883ec
Raw File
Tip revision: f84c15ef2fa30dd074fcccafccec6b9b69266619 authored by Brad King on 17 July 2018, 11:18:36 UTC
CMake 3.12.0
Tip revision: f84c15e
CMakeLists.txt
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 )
back to top