🕹️
Game Engine. hardCORE series
Udemy course / C++PatreonBoostyTelegramYouTube
  • 💻Lectures
    • 00. Promo
    • 01. What is game engine?
    • 02. C++ build process. Preprocessing
      • Preprocessor commands
      • Code
    • 03. C++ build process. Compilation Theory. Assembly
      • Compiler commands
      • Code
    • 04. C++ build process. Compiler optimizations
      • Compiler commands
      • Code
    • 05. C++ build process. Linker. Forward declaration
      • Compiler commands
      • Code
    • 06. C++ build process. Linker. Static and Dynamic libraries. PCH
      • Compiler commands
      • Code
      • Books
    • 07. СMAKE. Day1. Basics
      • CMAKE commands
      • Repository
    • 08. СMAKE. Day2. Libs
      • CMAKE commands
      • Repository
    • 09. Conan. C++ package manager
      • Conan commands
      • Repository
    • 10. Raylib. CMAKE additional topics
      • Repository
    • 11. Doodle Jump Game. Raylib. CMAKE pch and other topics
      • Repository
    • 12. Conan and CMAKE integration. Github workflows
      • Commands
      • Repository
    • 13. Engine. Layout
    • 14. Engine. Logging
    • 15. Engine. Window
    • 16. Engine. Window events. Input
  • Мои курсы
    • 🎮Unreal Engine — полное руководство по разработке на С++
    • 🧪Автоматизация и тестирование в Unreal Engine
    • 🔊Metasounds
    • 🏗️Design patterns
    • 🐍Snake game
    • 🧠OpenAI
  • LifeEXE сообщество
    • Ресурсы
Powered by GitBook
On this page
  1. Lectures
  2. 06. C++ build process. Linker. Static and Dynamic libraries. PCH

Compiler commands

cl main.cpp character.cpp math.cpp weapon.cpp /EHsc /showIncludes /MP
cl /Yc"pch.h" /Fp"pch.pch" pch.cpp /c /EHsc
cl /Yu"pch.h" main.cpp math.cpp /c /EHsc
lib math.obj
link main.obj math.lib /out:engine.exe
link math.obj /dll
cl /FeMath.dll math.cpp /link /dll
cl /FeMath.dll math.cpp /LD /D_EXPORTING
cl main.cpp /EHsc /D_IMPORTING /Fegame.exe /link Math.lib
Previous06. C++ build process. Linker. Static and Dynamic libraries. PCHNextCode

Last updated 9 months ago

💻