mirror of
https://github.com/arcan1s/moldyn.git
synced 2025-06-28 23:01:43 +00:00
added structure to all functions of library
This commit is contained in:
@ -14,9 +14,10 @@ message (STATUS "${SUBPROJECT} SOURCES: ${SOURCES}")
|
||||
message (STATUS "${SUBPROJECT} HEADERS: ${HEADERS}")
|
||||
|
||||
# link libraries and compile
|
||||
add_executable (${MM_PREFIX}${SUBPROJECT} ${SOURCES} ${HEADERS})
|
||||
add_dependencies (${MM_PREFIX}${SUBPROJECT} ${LIBRARIES})
|
||||
target_link_libraries (${MM_PREFIX}${SUBPROJECT} ${ADDITIONAL_LIB} ${LIBRARIES})
|
||||
add_executable (${SUBPROJECT} ${SOURCES} ${HEADERS})
|
||||
set_target_properties (${SUBPROJECT} PROPERTIES OUTPUT_NAME ${MM_PREFIX}${SUBPROJECT})
|
||||
add_dependencies (${SUBPROJECT} ${LIBRARIES})
|
||||
target_link_libraries (${SUBPROJECT} ${ADDITIONAL_LIB} ${LIBRARIES})
|
||||
|
||||
# install properties
|
||||
install (TARGETS ${MM_PREFIX}${SUBPROJECT} DESTINATION bin)
|
||||
install (TARGETS ${SUBPROJECT} DESTINATION bin)
|
||||
|
Reference in New Issue
Block a user