Skip to content
Tcl Source Code History Of Ticket 3432902
Login

History Of Ticket 3432902

Artifacts Associated With Ticket 3432902

  1. Ticket change [41b56f3a4b] (rid 116236) by starseeker on 2011-11-03 17:22:18:

    1. assignee initialized to: "das"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      I'd like to inquire whether it would be possible to incorporate CMake build logic along the lines of that defined here:
      
      https://github.com/starseeker/tcltk/tree/master/tcl
      https://github.com/starseeker/tcltk/tree/master/tk
      
      into the main CMake source tree, and if so what work would need to be done to achieve this.  The links above contain the build system work presented at the 18th Annual Tcl/Tk Conference in 2011.
      
      The tree above uses the 8.6b2 tarballs as its baseline - in brief, the changes are:
      
      New files:
      
      tcl: CMake directory and contents
      tcl: CMakeLists.txt
      tcl/doc: CMakeLists.txt
      tcl/library: CMakeLists.txt
      
      tk: CMake directory and contents
      tk: CMakeLists.txt
      tk/doc: CMakeLists.txt
      tk/library: CMakeLists.txt
      tk/win: tkMainASCII.c
      
      Changes:
      
      diff -r tk8.6b2/win/rc/tk.rc tcltk/tk/win/rc/tk.rc
      74c74,76
      < CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "wish.exe.manifest"
      ---
      > 
      > //MSVC provides a manifest file for us
      > //CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "wish.exe.manifest"
      diff -r tk8.6b2/win/rc/wish.rc tcltk/tk/win/rc/wish.rc
      87c87,89
      < CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "wish.exe.manifest"
      ---
      > // CMake provies it's own manifest file
      > //
      > // CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "wish.exe.manifest"
      
      This would be very helpful for projects that use CMake and embed Tcl/Tk (such as BRL-CAD) and may also prove to be a good solution longer term for building on Windows (CMake supports multiple build system outputs from a  single set of files.)  The only file changes currently are the manifest files, and if it proves necessary to avoid changing *any* non-CMake files in Tcl/Tk to avoid disturbing pre-existing build systems it would be workable to have CMake specific versions of those files.  
      
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "starseeker"
    10. subsystem initialized to: "53. Configure and Build Tools"
    11. title initialized to: "CMake build files for Tcl/Tk"
    12. type initialized to: "RFE"
  2. Ticket change [f77350fc08] (rid 148531) by dkf on 2016-09-01 16:09:07:

    1. assignee changed to: "aku"
    2. closer changed to: "nobody"
    3. comment changed to:
      I'd like to inquire whether it would be possible to incorporate CMake build logic along the lines of that defined here:
      
      https://github.com/starseeker/tcltk/tree/master/tcl
      https://github.com/starseeker/tcltk/tree/master/tk
      
      into the main CMake source tree, and if so what work would need to be done to achieve this.  The links above contain the build system work presented at the 18th Annual Tcl/Tk Conference in 2011.
      
      The tree above uses the 8.6b2 tarballs as its baseline - in brief, the changes are:
      
      New files:
      
      tcl: CMake directory and contents
      tcl: CMakeLists.txt
      tcl/doc: CMakeLists.txt
      tcl/library: CMakeLists.txt
      
      tk: CMake directory and contents
      tk: CMakeLists.txt
      tk/doc: CMakeLists.txt
      tk/library: CMakeLists.txt
      tk/win: tkMainASCII.c
      
      Changes:
      
      diff -r tk8.6b2/win/rc/tk.rc tcltk/tk/win/rc/tk.rc
      74c74,76
      < CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "wish.exe.manifest"
      ---
      > 
      > //MSVC provides a manifest file for us
      > //CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "wish.exe.manifest"
      diff -r tk8.6b2/win/rc/wish.rc tcltk/tk/win/rc/wish.rc
      87c87,89
      < CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "wish.exe.manifest"
      ---
      > // CMake provies it's own manifest file
      > //
      > // CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "wish.exe.manifest"
      
      This would be very helpful for projects that use CMake and embed Tcl/Tk (such as BRL-CAD) and may also prove to be a good solution longer term for building on Windows (CMake supports multiple build system outputs from a  single set of files.)  The only file changes currently are the manifest files, and if it proves necessary to avoid changing *any* non-CMake files in Tcl/Tk to avoid disturbing pre-existing build systems it would be workable to have CMake specific versions of those files.
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. severity changed to: "Minor"
    7. subsystem changed to: "53. Configuration and Build Tools"