;add_pdb
;
; add a PDB file to the current project.
; this is done by creating a soft link to the actual file.

	dialogbox "PDB file" \
		"use this dialog to copy/link PDB file to this project" message \
		"(links take much less disk room than copies)" message \
		PDBfile file ff $name \
		Action enum "Copy,Link" act "Link" \
		*
	if ($act s= "Copy") then
		sh ("cp"; $ff; "PDB")
	elsif ($act s= "Link") then
		sh ("ln -s"; $ff; "PDB")
	endif

@build_pdb
