~vcs-imports/putty/master

« back to all changes in this revision

Viewing changes to windows/CMakeLists.txt

  • Committer: Simon Tatham
  • Date: 2021-05-08 16:20:50 UTC
  • Revision ID: git-v1:7167c8c77165211dd352549735a903318c78fde9
Move some parts of window.c into putty.c.

This prepares the ground for a second essentially similarly-shaped
program reusing most of window.c but handling its command line and
startup differently. A couple of large parts of WinMain() to do with
backend selection and command-line handling are now subfunctions in a
separate file putty.c.

Also, our custom AppUserModelId is defined in that file, so that it
can vary with the client application.

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
 
83
83
add_executable(putty
84
84
  window.c
 
85
  putty.c
85
86
  help.c
86
87
  ${CMAKE_SOURCE_DIR}/be_all_s.c
87
88
  putty.rc)
97
98
 
98
99
add_executable(puttytel
99
100
  window.c
 
101
  putty.c
100
102
  help.c
101
103
  ${CMAKE_SOURCE_DIR}/be_nos_s.c
102
104
  ${CMAKE_SOURCE_DIR}/nogss.c