Premake5を使用してVisual Studio2019の環境ファイルを自動生成したいのですが
.filtersファイルがうまく生成されません
srcフォルダにc++の.hと.cppファイルが入っているのですがそれをちゃんと分けた状態にしたいですが
.filtersが生成されずうまく機能しません...
ちなみに【.vcxproj】と【.sln】ファイルは生成されます
Premake5
1workspace "FocusEngine" 2 architecture "x64" 3 startproject "BORDER" 4 5 configurations 6 { 7 "Debug", 8 "Release", 9 "Dist" 10 } 11 12outputdir = "%{cfg.buildcfg}-%{cfg.system}-%{cfg.architecture}" 13 14project "FocusEngine" 15 location "Engine" 16 kind "SharedLib" 17 language "C++" 18 staticruntime "On" 19 systemversion "latest" 20 21 targetdir ("bin/" .. outputdir .. "/%{prj.name}") 22 objdir ("bin-int/" .. outputdir .. "/%{prj.name}") 23 24 files 25 { 26 "%{prj.name}/src/**.h", 27 "%{prj.name}/src/**.cpp" 28 } 29 30 includedirs 31 { 32 "%{prj.name}/packages/spdlog.native.1.0.0/build/native/include/spdlog" 33 34 } 35 36 filter "system:windows" 37 cppdialect "C++17" 38 staticruntime "On" 39 systemversion "latest" 40 41 defines 42 { 43 "FC_PLATFORM_WINDOWS", 44 "FC_BUILD_DLL" 45 } 46 47 postbuildcommands 48 { 49 ("{COPY} %{cfg.buildtarget.relpath} ../bin/" .. outputdir .. "/BORDER") 50 } 51 52 filter "configurations:Debug" 53 defines "FC_DEBUG" 54 symbols "On" 55 56 filter "configurations:Release" 57 defines "FC_RELEASE" 58 optimize "On" 59 60 filter "configurations:Dist" 61 defines "FC_DIST" 62 optimize "On" 63 64project "BORDER" 65 location "BORDER" 66 kind "ConsoleApp" 67 language "C++" 68 69 targetdir ("bin/" .. outputdir .. "/%{prj.name}") 70 objdir ("bin-int/" .. outputdir .. "/%{prj.name}") 71 72 files 73 { 74 "%{prj.name}/src/**.h", 75 "%{prj.name}/src/**.cpp" 76 } 77 78 includedirs 79 { 80 81 "%{prj.name}/packages/spdlog.native.1.0.0/build/native/include/spdlog" 82 } 83 84 links 85 { 86 "FocusEngine" 87 } 88 89 filter "system:windows" 90 cppdialect "C++17" 91 staticruntime "On" 92 systemversion "latest" 93 94 defines 95 { 96 "FC_PLATFORM_WINDOWS" 97 } 98 99 filter "configurations:Debug" 100 defines "FC_DEBUG" 101 symbols "On" 102 103 filter "configurations:Release" 104 defines "FC_RELEASE" 105 optimize "On" 106 107 filter "configurations:Dist" 108 defines "FC_DIST" 109 optimize "On"
あなたの回答
tips
プレビュー