﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
6916	RFE: (On Windows) Get ChimeraX icon information from the build system	Zach Pearson	Zach Pearson	"It's possible to get all of the ChimeraX binary's build information from the build system. 

The binary is currently always built at the same time as the core, so the year can be sourced from the shell. 

When we build ChimeraX for distribution, we also know what kind of build we're making and so we don't need to source it from geticoninfo.py. If the build system's {{{BUILD_TYPE}}} variable is not 'production', we know to set {{{FLAGS = VS_FF_PRERELEASE}}}. 

We could also pass the distribution version into the build system through a variable such as CX_DIST_VER. 

{{{PRODVER}}} and {{{VER}}} can both be set based on that. My idea is to set VER to CX_DIST_VER, and to format PRODVER correctly insert the following code:

{{{
PRODVER_MAJOR = $(word 1,$(subst ., ,$(CX_DIST_VER)))
PRODVER_MINOR = $(word 2,$(subst ., ,$(CX_DIST_VER)))
PRODVER_PATCH = $(word 3,$(subst ., ,$(CX_DIST_VER)))
ifeq ($(PRODVER_PATCH),)
PRODVER_PATCH = 0
endif
PRODVER = $(PRODVER_MAJOR),$(PRODVER_MINOR),$(PRODVER_PATCH),0
}}}

This I think is step one to untangle the {{{ChimeraX-chimerax.core}}} dependency. "	enhancement	assigned	moderate		Build System				chimerax-programmers				all	ChimeraX
