검색결과 리스트
매크로에 해당되는 글 2건
- 2012.04.11 [Visual Studio 2005] 매크로 환경변수
- 2008.09.20 VC++ 에서 주석 다는 단축키
글
링크 : http://sonumb.tistory.com/29
Visual Studio 2005 상에서 쓰이는 Macro 환경 변수
Macro | Description |
$(ConfigurationName) | The name of the current project configuration, for example, "Debug|Any CPU". |
$(OutDir) | Path to the output file directory, relative to the project directory. This resolves to the value for the Output Directory property. It includes the trailing backslash '\'. |
$(DevEnvDir) | The installation directory of Visual Studio 2005 (defined with drive and path); includes the trailing backslash '\'. |
$(PlatformName) | The name of the currently targeted platform. For example, "AnyCPU". |
$(ProjectDir) | The directory of the project (defined with drive and path); includes the trailing backslash '\'. |
$(ProjectPath) | The absolute path name of the project (defined with drive, path, base name, and file extension). |
$(ProjectName) | The base name of the project. |
$(ProjectFileName) | The file name of the project (defined with base name and file extension). |
$(ProjectExt) | The file extension of the project. It includes the '.' before the file extension. |
$(SolutionDir) | The directory of the solution (defined with drive and path); includes the trailing backslash '\'. |
$(SolutionPath) | The absolute path name of the solution (defined with drive, path, base name, and file extension). |
$(SolutionName) | The base name of the solution. |
$(SolutionFileName) | The file name of the solution (defined with base name and file extension). |
$(SolutionExt) | The file extension of the solution. It includes the '.' before the file extension. |
$(TargetDir) | The directory of the primary output file for the build (defined with drive and path). It includes the trailing backslash '\'. |
$(TargetPath) | The absolute path name of the primary output file for the build (defined with drive, path, base name, and file extension). |
$(TargetName) | The base name of the primary output file for the build. |
$(TargetFileName) | The file name of the primary output file for the build (defined as base name and file extension). |
$(TargetExt) | The file extension of the primary output file for the build. It includes the '.' before the file extension. |
주절 주절~ 더군다나 영어!!
이럴땐 예시를 보는게 킹왕짱입니다. . -_-
- 보통 UNIX와 윈도우즈에서 말하는 Path는 "파일의 이름 및 확장자를 포함하는 경로"이고 Directory는 "파일의 경로만"을 얘기합니다.
그럼 파일의 Path가 "c:windowscmd.exe"라면 그 파일의 Directory는 "c:windows\" 인거죠. :)
또 다른 팁은 FileName = Name + Ext 가 있습니다..
그러면 이제 외우기 좀 쉬워지죠?
'IDE/Tool > Visual Studio' 카테고리의 다른 글
[Visual Basic 6.0] 마우스 휠이 동작하지 않을때 (0) | 2012.08.02 |
---|---|
[Visual Studio] Add-In 만들기 (0) | 2012.05.16 |
[Visual Studio 2005] Visual Studio 2005 에서 ildasm.exe 위치 (0) | 2012.03.10 |
[Visual Studio] 마법사 만들기 (0) | 2012.03.08 |
[Visual Studio 2008] Unicode 기반 프로그램에서 한글이 깨지는 현상 (0) | 2011.03.01 |
트랙백
댓글
글
간단하지만 요긴한 단축키 입니다. ^^;
우선 주석을 하고 싶은 구간을 선택하세요
주석 : Ctrl+K+C
해제 : Ctrl+K+U
PS. Visual Studio C++ 6.0 이하에서는 안됩니다.
'C/C++ > VC++ / MFC' 카테고리의 다른 글
스택에 생성하는 CWnd를 상속받은 클래스에서는 PostNcDestroy에서 절대로 delete this를 하지마라 (2) | 2008.09.30 |
---|---|
유용한 단축키를 제공하는 CodeWiz (0) | 2008.09.26 |
[펌] VC++ 예외처리 사용시 주의점 (0) | 2008.09.19 |
LNK 4099 에러관련 (0) | 2008.09.18 |
[Visual Studio 2005] fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source? (0) | 2008.07.23 |
RECENT COMMENT