일/프로그래밍

debug/release version dll 이름 구분 생성

푸른st 2007. 10. 19. 09:49
#ifdef _DEBUG
#pragma comment(lib, "..\\ProjectName\\Debug\\DllNamed.lib")
#else
#pragma comment(lib, "..\\ProjectName\\Release\\DllName.lib")
#endif