Changeset 47a8d17 for src/driver
- Timestamp:
- Oct 27, 2016, 3:02:56 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 24eb51ed, 3f0c6a5
- Parents:
- 6d7c3df
- Location:
- src/driver
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/driver/Makefile.am
r6d7c3df r47a8d17 6 6 ## file "LICENCE" distributed with Cforall. 7 7 ## 8 ## Makefile.am -- 8 ## Makefile.am -- 9 9 ## 10 10 ## Author : Peter A. Buhr … … 26 26 cc1_SOURCES = cc1.cc 27 27 28 cfa.cc : ${abs_top_srcdir}/version 29 @true 30 28 31 MAINTAINERCLEANFILES = @CFA_PREFIX@/bin/${bin_PROGRAMS} @CFA_PREFIX@/lib/${cc1lib_PROGRAMS} -
src/driver/Makefile.in
r6d7c3df r47a8d17 100 100 CFA_PREFIX = @CFA_PREFIX@ 101 101 CFLAGS = @CFLAGS@ 102 CONFIG_STATUS_DEPENDENCIES = @CONFIG_STATUS_DEPENDENCIES@ 102 103 CPP = @CPP@ 103 104 CPPFLAGS = @CPPFLAGS@ … … 542 543 543 544 545 cfa.cc : ${abs_top_srcdir}/version 546 @true 547 544 548 # Tell versions [3.59,3.63) of GNU make to not export all variables. 545 549 # Otherwise a system limit (for SysV at least) may be exceeded. -
src/driver/cfa.cc
r6d7c3df r47a8d17 25 25 using std::endl; 26 26 using std::string; 27 using std::to_string; 27 28 28 29 … … 50 51 51 52 int main( int argc, char *argv[] ) { 52 string Version( VERSION); // current version number from CONFIG53 string Major( CFA_VERSION_MAJOR ), Minor( CFA_VERSION_MINOR ), Patch( CFA_VERSION_MINOR);53 string Version( CFA_VERSION_LONG ); // current version number from CONFIG 54 string Major( to_string( CFA_VERSION_MAJOR ) ), Minor( to_string( CFA_VERSION_MINOR ) ), Patch( to_string( CFA_VERSION_PATCH ) ); 54 55 55 56 string installincdir( CFA_INCDIR ); // fixed location of include files
Note: See TracChangeset
for help on using the changeset viewer.