{"id":13731005,"url":"https://github.com/RandyGaul/C-Hotloading","last_synced_at":"2025-05-08T03:32:38.366Z","repository":{"id":147182134,"uuid":"52401979","full_name":"RandyGaul/C-Hotloading","owner":"RandyGaul","description":"Example of MSVC makefile project for hotloading C with intellisense/debugger compatability","archived":false,"fork":false,"pushed_at":"2022-09-24T00:09:34.000Z","size":8,"stargazers_count":107,"open_issues_count":0,"forks_count":13,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-11-12T22:34:59.238Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://randygaul.net","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RandyGaul.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-02-24T00:30:42.000Z","updated_at":"2024-10-24T19:26:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"333f2e47-c191-4f2f-a2dd-ebf20bf38c30","html_url":"https://github.com/RandyGaul/C-Hotloading","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RandyGaul%2FC-Hotloading","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RandyGaul%2FC-Hotloading/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RandyGaul%2FC-Hotloading/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RandyGaul%2FC-Hotloading/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RandyGaul","download_url":"https://codeload.github.com/RandyGaul/C-Hotloading/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224695871,"owners_count":17354500,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T02:01:22.653Z","updated_at":"2024-11-14T21:32:03.796Z","avatar_url":"https://github.com/RandyGaul.png","language":"C++","readme":"C Hotloading\n============\n\nQuick example of compiling a \"game's\" main loop into a DLL with the ability to reload the DLL at run-time whenever the DLL has changed. A batch file is used to allow compilation while the debugger is attached to the main executable. Idea taken from the Handmade Hero videos + forums.\n\nI've included notes on how to add a hotkey (I used alt + f5) to recompile while running the executable from within Visual Studio, even while the debugger is attached.\n\nWindows only demo. Batch file setup for MSVC 2013 (v12); easily modifiable for other version.\n\nInstructions\n------------\n\n- Open solution\n- f5\n- Edit game.cpp\n- Alt + f5 (after setting up the hotkey, see notes folder)\n","funding_links":[],"categories":["C++"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRandyGaul%2FC-Hotloading","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FRandyGaul%2FC-Hotloading","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRandyGaul%2FC-Hotloading/lists"}