게임/게임 엔진의 이해

[Handmade Hero] 001 - Setting Up the Windows Build

한진희 2023. 8. 29. 10:04
반응형

기본 설정

- startup.bat C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup => Windows 시작시 가상 드라이브 실행

- build.bat (.exe파일을 빌드하기 위한 batch 파일)

- shell.bat (비쥬얼 스튜디오 컴파일러를 사용하기 위한 batch 파일)

- devenv \build\win32_handmade.exe (.sln 파일을 사용하기 위한 커맨드)

- user32.lib -> MessageBox같은 function을 사용하기 위해 컴파일할 때 포함시켜야 한다.

개념

- CRT Library for C compiler

- Import Library (Ex: user32.lib) -> 특정 Function을 사용하기 위함

MSDN Functions

- WinMain for entry point

- MessageBox for display (Ok & Icon)

Resources

- Official Lesson

반응형