Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

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

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. 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" does not exist: a file named "include" with the contents of "tdbcDecls.h" in the build directory
       *   if folder "include" exists: two files "tdbc.h" and "tdbcDecls.h" are written to the folder
    
    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
    
  5. foundin changed to: "9.0.1"
  6. is_private changed to: "0"
  7. login: "oehhar"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "0f366eb3e9e2fcab52b8ebacd197db9047186a5f"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "oehhar"
  14. subsystem changed to: "53. Configuration and Build Tools"
  15. title changed to:
    makefile.vc: package with include folder requires this folder to exist
    
  16. type changed to: "Bug"