Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tools/premake/premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ function pluginSdkStaticLibProject(projectName, sdkdir, outName, isPluginProject
end

-- precompiled header
if msbuild and (projNameLower == "plugin_iii" or projNameLower == "plugin_vc" or projNameLower == "plugin_sa") then
if msbuild and (projNameLower == "plugin_iii" or projNameLower == "plugin_vc" or projNameLower == "plugin_sa" or projNameLower == "plugin_iv") then
pchheader "stdafx.h"
forceincludes "stdafx.h"
pchsource (path.getrelative(path.getabsolute("."), sdkdir .. "/shared/stdafx.cpp"))
Expand Down
5 changes: 4 additions & 1 deletion tools/premake/stdafx_template.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
#include <map>
#include <math.h>
#include <memory>
#include <rwcore.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h> // c-string utils
Expand All @@ -30,5 +29,9 @@
#include <vector>
#include <windows.h>

#ifdef RW
#include <rwcore.h>
#endif

GENERATED_LIST
#endif