mirror of
https://github.com/arcan1s/moldyn.git
synced 2025-07-15 22:59:59 +00:00
fix building
This commit is contained in:
@ -10,12 +10,12 @@ else ()
|
||||
endif ()
|
||||
|
||||
# message
|
||||
message (STATUS "${PROJECT} SOURCES: ${SOURCES}")
|
||||
message (STATUS "${PROJECT} HEADERS: ${HEADERS}")
|
||||
message (STATUS "${SUBPROJECT} SOURCES: ${SOURCES}")
|
||||
message (STATUS "${SUBPROJECT} HEADERS: ${HEADERS}")
|
||||
|
||||
# link libraries and compile
|
||||
add_executable (${MM_PREFIX}${PROJECT} ${SOURCES} ${HEADERS})
|
||||
target_link_libraries (${MM_PREFIX}${PROJECT} ${ADDITIONAL_LIB} ${LIBRARIES})
|
||||
add_executable (${MM_PREFIX}${SUBPROJECT} ${SOURCES} ${HEADERS})
|
||||
target_link_libraries (${MM_PREFIX}${SUBPROJECT} ${ADDITIONAL_LIB} ${LIBRARIES})
|
||||
|
||||
# install properties
|
||||
install (TARGETS ${MM_PREFIX}${PROJECT} DESTINATION bin)
|
||||
install (TARGETS ${MM_PREFIX}${SUBPROJECT} DESTINATION bin)
|
||||
|
@ -127,7 +127,7 @@ int printing_head (const char *output, const int log, const int quiet, const int
|
||||
FILE *f_out;
|
||||
|
||||
f_out = fopen (output, "w");
|
||||
fprintf (f_out, "radf ::: V.1.1.1\n\n");
|
||||
fprintf (f_out, "radf ::: V.1.2.0\n\n");
|
||||
fprintf (f_out, "CONFIGURATION\n");
|
||||
|
||||
fprintf (f_out, "LOG=%i\nQUIET=%i\nMATRIX=%i\n", log, quiet, matrix);
|
||||
|
@ -75,7 +75,7 @@ int main(int argc, char *argv[])
|
||||
sprintf (tmp_str, " mm_radf\n");
|
||||
sprintf (tmp_str, "%sProgram that calculates radial distribution function (RDF) or radial-angles\n", tmp_str);
|
||||
sprintf (tmp_str, "%sdistribution function\n", tmp_str);
|
||||
sprintf (tmp_str, "%sVersion : 1.1.1 License : GPL\n", tmp_str);
|
||||
sprintf (tmp_str, "%sVersion : 1.2.0 License : GPL\n", tmp_str);
|
||||
sprintf (tmp_str, "%s Evgeniy Alekseev aka arcanis\n", tmp_str);
|
||||
sprintf (tmp_str, "%s E-mail : esalexeev@gmail.com\n\n", tmp_str);
|
||||
sprintf (tmp_str, "%sUsage:\n", tmp_str);
|
||||
|
Reference in New Issue
Block a user