[Insight-users] Re: Must I create a CMakeLists.txt file to utilize CMake on a dsw VC project? ||||||| and a watershed exception

Zhaocg zhao_c_g at 263 . net
Mon, 1 Sep 2003 11:28:15 +0800


SGkgTHVpcywNCg0KICAgIENNYWtlTGlzdC50eHQgYW5kIENNYWtlIHJlYWxseSBzYXZlIG1lIGEg
bG90IG9mIHRpbWUuIEJ1dCB0aGVyZSBhcmUgc3RpbGwgc29tZSB0cml2aWFsIHF1ZXN0aW9ucyBu
ZWVkIG1lIHRvIG1hbm51YWxseSBzZXR0bGUgdGhlbS4gRm9yIGV4YW1wbGU6DQogICAgLS0gQ01h
a2UgYWx3YXlzIGdlbmVyYXRlIGEgY29uc29sZSBwcm9qZWN0IGJ1dCBub3QgYSB3aW5kb3dzIHBy
b2plY3QuIA0KICAgIC0tIFZDIHByb2plY3RzIGNyZWF0ZWQgYnkgQXBwV2l6YXJkIGFsd2F5cyB1
c2UgcHJlY29tcGlsZWQgaGVhZGVyIGZpbGUsIGkuZS4sIHN0ZGFmeC5oLg0KICAgIE5vdyBteSBz
Y2hlbWUgdG8gdXRpbGl6ZSBDTWFrZSBpczoNCiAgICAtLSBDcmVhdGUgYSBwcm9qZWN0IHVuZGVy
IFZDICh0aGlzIHN0ZXAgZG9lcyBub3QgY29uY2VybiBJVEspIGFuZCBjb3B5IHRoZSBmb2xkZXIu
DQogICAgLS0gQ3JlYXRlIGEgcHJvcGVyIENNYWtlTGlzdC50eHQgZmlsZSB1bmRlciB0aGUgcHJv
amVjdCBkaXJlY3RvcnkuDQogICAgLS0gVXNlIENNYWtlIHRvIGNyZWF0ZSBhICouZHN3IGZpbGUu
DQogICAgLS0gT3BlbiAqLmRzdyB3aXRoIFZDIGFuZCBjb3B5IHRoZSBzZXR0aW5ncyB0aGUgb3Jp
Z2luYWwgcHJvamVjdC4NCiAgICBVbnRpbCBub3csIHRoaXMgbWV0aG9kICwgdGhvdWdoIGF3a3dh
cmQsIHdvcmtzIGZpbmUgOi0pLiANCg0KICAgIC0t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