mirror of
				https://github.com/cclassic/model-ghdl
				synced 2025-11-04 02:49:33 +01:00 
			
		
		
		
	Allowed to manually set the compile dir
This commit is contained in:
		@@ -4,9 +4,9 @@
 | 
			
		||||
#include <stdio.h>
 | 
			
		||||
#include <vector>
 | 
			
		||||
#include <fstream>
 | 
			
		||||
//#include <regex>
 | 
			
		||||
#include <string.h>
 | 
			
		||||
 | 
			
		||||
//#define DEBUG_EN DEBUG_EN
 | 
			
		||||
// #define DEBUG_EN DEBUG_EN
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
@@ -115,6 +115,9 @@ int main(int argc, char **argv)
 | 
			
		||||
            work = argv[i];
 | 
			
		||||
            //++i;
 | 
			
		||||
        }
 | 
			
		||||
        else if (GETOPT("-compiledir")) {
 | 
			
		||||
            strcpy(tempdir, argv[i]);
 | 
			
		||||
        }
 | 
			
		||||
        else if (ISOPT("-87")) {
 | 
			
		||||
            vhdlver = "--std=87";
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user