home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / asty1153.zip / INSTALL.TXT < prev    next >
Text File  |  2001-05-28  |  1KB  |  49 lines

  1. Welcome to Artistic Style!
  2.  
  3.  
  4. Precompiled STABLE versions:
  5. ----------------------------
  6. These contain, in addition to the sources, an astyle executable.
  7.  
  8. astyle_x.y.z_glibc.tar.gz contains the file astyle .
  9. astyle_x.y.z_win32.zip contains file astyle.exe .
  10.  
  11. To use these files, simply add them to you PATH system variable
  12. (or copy them to a directory that is included in your PATH variable)
  13. and run from the console.
  14.  
  15.  
  16. Source version:
  17. ===============
  18. To compile under linux/unix/cygwin:
  19. -----------------------------------
  20.  
  21.  
  22. 1. The file compiler_defines.h contains several options regarding the
  23.    compiler to be used.
  24.  
  25.    - if your compiler does not recognize "namespace"s, then COMMENT OUT
  26.  
  27.      the line:
  28.      #define USES_NAMESPACE
  29.  
  30. 2. After the above is set, type 'make'.
  31.    This should create an executable file called 'astyle'.
  32.  
  33.  
  34. To compile under Win95/NT:
  35. --------------------------
  36.  
  37. 1. Create a project under Visual C++ (or another compiler) and import
  38.    all the .cpp and .h files.
  39. 2. In order to have Artistic Style expand wildcards (such as "*.cpp"),
  40.    insert "setargv.obj" to the list of files to link Artistic-Style
  41.    to. This at least works under Visual C++. I do not know if it works
  42.    under other compilers. (Nat, thanks for the info on wildcard expanding!)
  43. 3. Compile...
  44.  
  45.  
  46. Enjoy!
  47. Tal Davidson
  48. davidsont@bigfoot.com
  49.