Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 9fe995ac1f7b5d5dc555193caebcb6ce5da37e06e912007f66ccd0834bcfe0ef
Ticket: 3335120320518c9535503985c5278f328a833880
makefile.vc: package with include folder requires this folder to exist
User & Date: oehhar on 2025-05-09 15:36:47
Changes

  1. comment changed to:
    VS2022 64 bit prompt on Win11 x64 OS:
    
    A compiled and installed TCL 9.0.1 is in c:\myprograms\tcl9.0_x64.
    A checkout of tdbc-main is in C:\test\fossil\tdbc\tdbc-main.
    
    An VS2022 64 bit native prompt gets the following commands:
    
    <verbatim>
    % nmake -f makefile.vc TCLDIR=c:\myprograms\tcl9.0_x64
    % nmake -f makefile.vc install TCLDIR=c:\myprograms\tcl9.0_x64 INSTALLDIR=..\..\install_x64
    ...
    Installing headers to '..\..\install_x64\..\include'
    </verbatim>
    
    When looking in the install folder (e.g. "..\.."), there is:
    
       *   if folder "include" did not exist in advance: a file named "include" with the contents of "tdbcDecls.h" in the build directory (wrong behaviour)
       *   if folder "include" existed in advance: two files "tdbc.h" and "tdbcDecls.h" are written to the folder (correct behaviour)
    
    It might be helpful, to create the folder '..\..\install_x64\..\include', if it does not exist.
    
    The relevant entries in makefile.vc are:
    
    <verbatim>
    PRJ_HEADERS_PUBLIC = \
    	$(GENERICDIR)\tdbc.h \
    	$(GENERICDIR)\tdbcDecls.h
    </verbatim>
    
    I am reporting this here, as IMHO, the machinery for this is here and not in tdbc-main.
    
    Thanks for all,
    Harald
    
  2. login: "oehhar"
  3. mimetype: "text/plain"