+ added dependecies

+ added oxygen docs building
+ added versioning
* some optimization
This commit is contained in:
arcan1s
2014-01-26 06:17:14 +04:00
parent b7b627fba5
commit 38eb392e32
41 changed files with 2459 additions and 270 deletions

View File

@ -15,6 +15,7 @@ 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})
# install properties

View File

@ -4,6 +4,7 @@
#include <stdio.h>
#include <version.h>
#include <mathmech/messages.h>
@ -92,7 +93,7 @@ int printing_head (const char *output, const int log, const int quiet,
FILE *f_out;
f_out = fopen (output, "w");
fprintf (f_out, "statgen ::: V.1.2.0\n\n");
fprintf (f_out, "statgen ::: V.%s\n\n", PROJ_VERSION);
fprintf (f_out, "CONFIGURATION\n");
fprintf (f_out, "LOG=%i\nQUIET=%i\n", log, quiet);

View File

@ -9,6 +9,7 @@
#include <time.h>
#include "add_main.h"
#include <version.h>
#include <mathmech/coords.h>
#include <mathmech/messages.h>
#include <mathmech/stat_print.h>
@ -94,7 +95,7 @@ int main (int argc, char *argv[])
{
sprintf (tmp_str, " mm_statgen\n");
sprintf (tmp_str, "%sProgram for analyze molecular dynamic trajectories\n", tmp_str);
sprintf (tmp_str, "%sVersion : 1.2.0 License : GPL\n", tmp_str);
sprintf (tmp_str, "%sVersion : %s License : GPL\n", tmp_str, PROJ_VERSION);
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);