add cmake bitwide test function