Changeset 3574 for trunk/tools


Ignore:
Timestamp:
May 19, 2000, 11:22:51 PM (25 years ago)
Author:
bird
Message:

Added command which sets the current directory to the working directory
specified in the projekt when the project is loaded.

Location:
trunk/tools/vslick
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/vslick/genproject.cmd

    r3436 r3574  
    1 /* $Id: genproject.cmd,v 1.2 2000-04-21 22:39:32 bird Exp $
     1/* $Id: genproject.cmd,v 1.3 2000-05-19 21:22:49 bird Exp $
    22 *
    33 * This script generates a Visual Slick project of the source and include
     
    8787    if (stream(sProjFile, 'c', 'open write' ) <> '') then do
    8888        call lineout sProjFile, '[COMPILER]'
    89         call lineout sProjFile, 'MACRO=odin32_maketagfile();\n'
     89        call lineout sProjFile, 'MACRO=odin32_maketagfile();\n odin32_setcurrentdir();\n'
    9090        call lineout sProjFile, 'FILTEREXPANSION=1 1 0 0 1'
    9191        call lineout sProjFile, 'compile=concur|capture|clear|:Compile:&Compile,nmake %n.obj'
  • trunk/tools/vslick/odin32.e

    r2829 r3574  
    1 /* $Id: odin32.e,v 1.3 2000-02-19 08:41:43 bird Exp $
     1/* $Id: odin32.e,v 1.4 2000-05-19 21:22:51 bird Exp $
    22 *
    33 * Visual SlickEdit Documentation Macros.
     
    304304    if (file_eq(p_extension, 'asm'))
    305305    {
    306         _insert_text("; $Id: odin32.e,v 1.3 2000-02-19 08:41:43 bird Exp $\n");
     306        _insert_text("; $Id: odin32.e,v 1.4 2000-05-19 21:22:51 bird Exp $\n");
    307307        _insert_text("; \n");
    308308        _insert_text("; \n");
     
    317317    else
    318318    {
    319         _insert_text("/* $Id: odin32.e,v 1.3 2000-02-19 08:41:43 bird Exp $\n");
     319        _insert_text("/* $Id: odin32.e,v 1.4 2000-05-19 21:22:51 bird Exp $\n");
    320320        _insert_text(" * \n");
    321321        _insert_text(" * \n");
     
    337337        _project_update_files_retag(true,false,false,true);
    338338}
     339
     340_command void odin32_setcurrentdir()
     341{
     342    _ini_get_value(_project_name,"COMPILER","WORKINGDIR", workingdir);
     343    chdir(workingdir, 1);
     344}
Note: See TracChangeset for help on using the changeset viewer.