mirror of
https://github.com/Maximus5/ConEmu.git
synced 2025-05-09 01:01:08 +08:00
821 lines
19 KiB
Lua
821 lines
19 KiB
Lua
workspace "CE"
|
|
configurations { "Release", "Debug", "Remote" }
|
|
platforms { "Win32", "x64" }
|
|
-- Where *.vcxproj files would be placed
|
|
location "src"
|
|
--basedir "%{cfg.location}"
|
|
-- Subdir for temporary files
|
|
local build_dir = "_VCBUILD"
|
|
|
|
startproject "ConEmu"
|
|
|
|
flags { "StaticRuntime", "Maps" }
|
|
filter "configurations:Release"
|
|
flags { "NoIncrementalLink" }
|
|
|
|
filter "platforms:Win32"
|
|
architecture "x32"
|
|
defines { "WIN32", "_WIN32" }
|
|
|
|
filter "platforms:x64"
|
|
architecture "x64"
|
|
defines { "WIN64", "_WIN64" }
|
|
|
|
filter "action:vs2017"
|
|
toolset "v141_xp"
|
|
filter "action:vs2015"
|
|
toolset "v140_xp"
|
|
filter "action:vs2013"
|
|
toolset "v120_xp"
|
|
filter "action:vs2012"
|
|
toolset "v110_xp"
|
|
|
|
filter "configurations:Release"
|
|
defines { "NDEBUG", "HIDE_TODO" }
|
|
optimize "Size"
|
|
symbols "On"
|
|
|
|
filter "configurations:Debug"
|
|
defines { "_DEBUG", "HIDE_TODO", "MSGLOGGER" }
|
|
symbols "On"
|
|
|
|
filter "configurations:Remote"
|
|
defines { "_DEBUG", "HIDE_TODO", "MSGLOGGER" }
|
|
symbols "On"
|
|
|
|
filter{}
|
|
|
|
function target_dir(folder)
|
|
filter "configurations:Release"
|
|
targetdir("Release/"..folder)
|
|
|
|
filter "configurations:Debug"
|
|
targetdir("Debug/"..folder)
|
|
|
|
filter "configurations:Remote"
|
|
targetdir("Z:/"..folder)
|
|
|
|
filter{}
|
|
end
|
|
|
|
function postbuild_module_(dllname, cfg, ext)
|
|
postbuildcommands {
|
|
"copy \"$(TargetPath)\" \"../"..cfg.."/plugins/ConEmu/Thumbs/"..dllname.."."..ext.."\"",
|
|
"copy \"$(TargetDir)$(TargetName).map\" \"../"..cfg.."/plugins/ConEmu/Thumbs/"..dllname.."."..ext..".map\"",
|
|
"copy \"$(TargetDir)$(TargetName).pdb\" \"../"..cfg.."/plugins/ConEmu/Thumbs/"..dllname.."."..ext..".pdb\"",
|
|
}
|
|
end
|
|
|
|
function postbuild_module(dllname)
|
|
filter { "configurations:Release", "platforms:Win32" }
|
|
postbuild_module_(dllname, "Release", "t32")
|
|
|
|
filter { "configurations:Release", "platforms:x64" }
|
|
postbuild_module_(dllname, "Release", "t64")
|
|
|
|
filter { "configurations:Debug", "platforms:Win32" }
|
|
postbuild_module_(dllname, "Debug", "t32")
|
|
|
|
filter { "configurations:Debug", "platforms:x64" }
|
|
postbuild_module_(dllname, "Debug", "t64")
|
|
|
|
filter { "configurations:Remote", "platforms:Win32" }
|
|
postbuild_module_(dllname, "Z:/", "t32")
|
|
|
|
filter { "configurations:Remote", "platforms:x64" }
|
|
postbuild_module_(dllname, "Z:/", "t64")
|
|
|
|
filter {}
|
|
end
|
|
|
|
|
|
|
|
local common_remove = {
|
|
"**/ExecPty.*",
|
|
"**/ProcList.*",
|
|
"**/Processes.*",
|
|
"**/base64.*",
|
|
"**/ConsoleTrueMod_Concept.h",
|
|
"**/*.bak",
|
|
"**/!*.*",
|
|
"**/_*.*",
|
|
}
|
|
|
|
local common_kernel = {
|
|
"src/common/CEHandle.*",
|
|
"src/common/CEStr.*",
|
|
"src/common/CmdLine.*",
|
|
"src/common/Common.cpp",
|
|
"src/common/Common.h",
|
|
"src/common/ConEmuCheck.*",
|
|
"src/common/ConsoleMixAttr.*",
|
|
"src/common/ConsoleRead.*",
|
|
"src/common/Execute.*",
|
|
"src/common/HandleKeeper.*",
|
|
"src/common/HkFunc.*",
|
|
"src/common/InQueue.*",
|
|
"src/common/MAssert.*",
|
|
"src/common/MConHandle.*",
|
|
"src/common/Memory.*",
|
|
"src/common/MFileLog.*",
|
|
"src/common/MModule.*",
|
|
"src/common/MProcess.*",
|
|
"src/common/MProcessBits.*",
|
|
"src/common/MRect.*",
|
|
"src/common/MSection.*",
|
|
"src/common/MSectionSimple.*",
|
|
"src/common/MSecurity.*",
|
|
"src/common/MStrDup.*",
|
|
"src/common/MStrSafe.*",
|
|
"src/common/RConStartArgs.*",
|
|
"src/common/WCodePage.*",
|
|
"src/common/WConsole.*",
|
|
"src/common/WModuleCheck.*",
|
|
"src/common/WObjects.*",
|
|
"src/common/WThreads.*",
|
|
|
|
}
|
|
|
|
|
|
-- ############################### --
|
|
-- ############################### --
|
|
-- ############################### --
|
|
project "common-kernel"
|
|
kind "StaticLib"
|
|
language "C++"
|
|
exceptionhandling "Off"
|
|
|
|
files (common_kernel)
|
|
|
|
removefiles (common_remove)
|
|
|
|
vpaths {
|
|
["Headers"] = {"**.h"},
|
|
["Sources"] = {"**.cpp"},
|
|
}
|
|
|
|
objdir ("%{wks.location}/"..build_dir.."/%{cfg.buildcfg}/%{prj.name}_%{cfg.platform}")
|
|
targetdir "%{cfg.objdir}"
|
|
filter "platforms:Win32"
|
|
targetsuffix "32"
|
|
filter "platforms:x64"
|
|
targetsuffix "64"
|
|
filter {}
|
|
-- end of "common-kernel"
|
|
|
|
|
|
|
|
|
|
-- ############################### --
|
|
-- ############################### --
|
|
-- ############################### --
|
|
project "common-user"
|
|
kind "StaticLib"
|
|
language "C++"
|
|
--exceptionhandling "Off"
|
|
|
|
files {
|
|
"src/common/*.cpp",
|
|
"src/common/*.h",
|
|
}
|
|
|
|
removefiles (common_remove)
|
|
removefiles (common_kernel)
|
|
|
|
vpaths {
|
|
["Headers"] = {"**.h"},
|
|
["Sources"] = {"**.cpp"},
|
|
}
|
|
|
|
objdir ("%{wks.location}/"..build_dir.."/%{cfg.buildcfg}/%{prj.name}_%{cfg.platform}")
|
|
targetdir ("%{cfg.objdir}")
|
|
filter "platforms:Win32"
|
|
targetsuffix "32"
|
|
filter "platforms:x64"
|
|
targetsuffix "64"
|
|
filter {}
|
|
-- end of "common-user"
|
|
|
|
|
|
|
|
|
|
-- ############################### --
|
|
-- ############################### --
|
|
-- ############################### --
|
|
project "ConEmu"
|
|
kind "WindowedApp"
|
|
language "C++"
|
|
--exceptionhandling "Off"
|
|
entrypoint "WinMainCRTStartup"
|
|
|
|
links {
|
|
"common-kernel",
|
|
"common-user",
|
|
"comctl32",
|
|
"shlwapi",
|
|
"version",
|
|
"gdiplus",
|
|
"winmm",
|
|
"netapi32",
|
|
}
|
|
|
|
-- we can't use pch because SHOWDEBUGSTR is defined or not per source file
|
|
-- pchheader "Header.h"
|
|
-- pchsource "src/ConEmu/Header.cpp"
|
|
|
|
files {
|
|
"src/common/*.h",
|
|
"src/ConEmu/*.cpp",
|
|
"src/ConEmu/*.h",
|
|
"src/ConEmu/*.rc",
|
|
"src/ConEmu/*.rc2",
|
|
"src/ConEmu/*.bmp",
|
|
"src/ConEmu/*.cur",
|
|
"src/ConEmu/*.ico",
|
|
"src/ConEmu/conemu.gcc.manifest",
|
|
}
|
|
removefiles {
|
|
"**/ConEmuMinGW.rc",
|
|
"**/ToolBarClass.*",
|
|
"**/Theming.*",
|
|
"**/FontRanges.*",
|
|
"**/*-old.*",
|
|
"**/RegExp.*",
|
|
"**/ConsoleTrueMod_Concept.h",
|
|
"**/hourglass.bmp",
|
|
"**/UserImages.bmp",
|
|
"**/User16.bmp",
|
|
"**/Shield32*.bmp",
|
|
"**/Scroll256.bmp",
|
|
"**/Scroll16.bmp",
|
|
"**/Scroll0.bmp",
|
|
"**/base64.h",
|
|
"**/!*.*",
|
|
}
|
|
|
|
vpaths {
|
|
{ ["Common"] = {"src/common/*.h"} },
|
|
{ ["Resources"] = {"**/*.rc", "**/*.rc2", "**/*.manifest", "**/*.bmp", "**/*.cur", "**/*.ico"} },
|
|
{ ["Exports"] = {"**.def"} },
|
|
{ ["Graphics"] = {"**/GdiObjects.*", "**/Font*.*", "**/CustomFonts.*", "**/Background.*", "**/ColorFix.*",
|
|
"**/IconList.*", "**/ImgButton.*", "**/LoadImg.*", "**/ScreenDump.*", "**/ToolImg.*"} },
|
|
{ ["Settings"] = {"**/SetPg*.*", "**/Options*.*"} },
|
|
{ ["Headers"] = {"**/*.h"} },
|
|
{ ["Sources"] = {"**/*.cpp"} },
|
|
}
|
|
|
|
target_dir("")
|
|
targetname "ConEmu"
|
|
objdir ("%{wks.location}/"..build_dir.."/%{cfg.buildcfg}/%{prj.name}_%{cfg.platform}")
|
|
implibdir ("%{cfg.objdir}")
|
|
filter "platforms:x64"
|
|
targetsuffix "64"
|
|
filter {}
|
|
-- end of "ConEmu"
|
|
|
|
|
|
|
|
|
|
-- ############################### --
|
|
-- ############################### --
|
|
-- ############################### --
|
|
project "ConEmuC"
|
|
kind "ConsoleApp"
|
|
language "C++"
|
|
exceptionhandling "Off"
|
|
|
|
links {
|
|
"common-kernel",
|
|
}
|
|
|
|
dependson {
|
|
"ConEmuCD",
|
|
"ConEmuHk",
|
|
}
|
|
|
|
files {
|
|
"src/ConEmuC/*.cpp",
|
|
"src/ConEmuC/*.h",
|
|
"src/ConEmuC/*.rc",
|
|
"src/ConEmuC/ConEmuC.exe.manifest",
|
|
}
|
|
|
|
vpaths {
|
|
{ ["Headers"] = {"**.h"} },
|
|
{ ["Sources"] = {"**.cpp"} },
|
|
{ ["Resources"] = {"**.rc", "**.rc2", "**.manifest"} },
|
|
{ ["Exports"] = {"**.def"} },
|
|
}
|
|
|
|
target_dir("ConEmu/")
|
|
targetname "ConEmuC"
|
|
objdir ("%{wks.location}/"..build_dir.."/%{cfg.buildcfg}/%{prj.name}_%{cfg.platform}")
|
|
implibdir ("%{cfg.objdir}")
|
|
filter "platforms:Win32"
|
|
targetsuffix ""
|
|
filter "platforms:x64"
|
|
targetsuffix "64"
|
|
filter {}
|
|
-- end of "ConEmuC"
|
|
|
|
|
|
|
|
|
|
-- ############################### --
|
|
-- ############################### --
|
|
-- ############################### --
|
|
project "ConEmuCD"
|
|
kind "SharedLib"
|
|
language "C++"
|
|
--exceptionhandling "Off"
|
|
|
|
filter {"action:vs*", "platforms:Win32"}
|
|
linkoptions { "/DYNAMICBASE:NO", "/FIXED:NO", "/BASE:0x6F780000" }
|
|
filter {"action:vs*", "platforms:x64"}
|
|
linkoptions { "/DYNAMICBASE:NO", "/FIXED:NO", "/BASE:0x6F780000000" }
|
|
filter {"action:gmake", "platforms:Win32"}
|
|
linkoptions { "--image-base=0x6F780000" }
|
|
filter {"action:gmake", "platforms:x64"}
|
|
linkoptions { "--image-base=0x6F780000000" }
|
|
filter {}
|
|
|
|
links {
|
|
"common-kernel",
|
|
"common-user",
|
|
}
|
|
|
|
files {
|
|
"src/common/Common.h",
|
|
"src/ConEmuCD/*.cpp",
|
|
"src/ConEmuCD/*.h",
|
|
"src/ConEmuHk/Injects.*",
|
|
"src/ConEmuCD/*.rc",
|
|
}
|
|
|
|
filter "action:vs*"
|
|
files "src/ConEmuCD/export.def"
|
|
filter "action:gmake"
|
|
files "src/ConEmuCD/export.gcc.def"
|
|
filter {}
|
|
|
|
vpaths {
|
|
{ ["Interface"] = {"**/Common.h", "**/SrvCommands.*", "**/Queue.*", "**/SrvPipes.*"} },
|
|
{ ["Automation"] = {"**/Actions.*", "**/GuiMacro.*"} },
|
|
{ ["Headers"] = {"**.h"} },
|
|
{ ["Sources"] = {"**.cpp"} },
|
|
{ ["Resources"] = {"**.rc", "**.rc2", "**.manifest"} },
|
|
{ ["Exports"] = {"**.def"} },
|
|
}
|
|
|
|
target_dir("ConEmu/")
|
|
targetname "ConEmuCD"
|
|
objdir ("%{wks.location}/"..build_dir.."/%{cfg.buildcfg}/%{prj.name}_%{cfg.platform}")
|
|
implibdir ("%{cfg.objdir}")
|
|
filter "platforms:Win32"
|
|
targetsuffix ""
|
|
filter "platforms:x64"
|
|
targetsuffix "64"
|
|
filter {}
|
|
-- end of "ConEmuCD"
|
|
|
|
|
|
|
|
|
|
-- ############################### --
|
|
-- ############################### --
|
|
-- ############################### --
|
|
project "ConEmuHk"
|
|
kind "SharedLib"
|
|
language "C++"
|
|
exceptionhandling "Off"
|
|
|
|
filter {"action:vs*", "platforms:Win32"}
|
|
linkoptions { "/DYNAMICBASE:NO", "/FIXED:NO", "/BASE:0x7E110000" }
|
|
filter {"action:vs*", "platforms:x64"}
|
|
linkoptions { "/DYNAMICBASE:NO", "/FIXED:NO", "/BASE:0x7E1100000000" }
|
|
filter {"action:gmake", "platforms:Win32"}
|
|
linkoptions { "--image-base=0x7E110000" }
|
|
filter {"action:gmake", "platforms:x64"}
|
|
linkoptions { "--image-base=0x7E1100000000" }
|
|
filter {}
|
|
|
|
--filter { "configurations:Release" }
|
|
-- optimize "Full"
|
|
--filter {}
|
|
|
|
defines { "CONEMU_MINIMAL" }
|
|
|
|
links {
|
|
"common-kernel",
|
|
}
|
|
|
|
files {
|
|
"src/ConEmu/ConsoleMessages.h",
|
|
"src/ConEmu/DebugMsgLog.h",
|
|
"src/ConEmuHk/*.cpp",
|
|
"src/ConEmuHk/*.h",
|
|
"src/ConEmuHk/*.rc",
|
|
"src/ConEmuHk/hde.c",
|
|
"src/modules/terminals/ConnectorAPI.h",
|
|
"src/modules/minhook/src/**.c",
|
|
"src/modules/minhook/src/**.h",
|
|
"src/modules/minhook/include/*.h",
|
|
"src/modules/minhook/LICENSE.txt",
|
|
}
|
|
|
|
removefiles {
|
|
"**/CETaskBar_.*",
|
|
"**/*-orig.*",
|
|
}
|
|
|
|
filter { "files:**/HDE/*.*" }
|
|
flags {"ExcludeFromBuild"}
|
|
filter {}
|
|
|
|
filter "action:vs*"
|
|
files "src/ConEmuHk/export.def"
|
|
filter "action:gmake"
|
|
files "src/ConEmuHk/export.gcc.def"
|
|
filter {}
|
|
|
|
vpaths {
|
|
{ ["MinHook/HDE"] = {"**/minhook/src/HDE/*.*"} },
|
|
{ ["MinHook/Trampoline"] = {"**/minhook/src/*.*"} },
|
|
{ ["MinHook"] = {"**/minhook/**.*", "**/hde.c"} },
|
|
{ ["Hooks"] = {"**/hk*.*"} },
|
|
{ ["Connector"] = {"**/Connector*.*"} },
|
|
{ ["Headers"] = {"**.h"} },
|
|
{ ["Sources"] = {"**.cpp"} },
|
|
{ ["Resources"] = {"**.rc", "**.rc2", "**.manifest"} },
|
|
{ ["Exports"] = {"**.def"} },
|
|
}
|
|
|
|
target_dir("ConEmu/")
|
|
targetname "ConEmuHk"
|
|
objdir ("%{wks.location}/"..build_dir.."/%{cfg.buildcfg}/%{prj.name}_%{cfg.platform}")
|
|
implibdir ("%{cfg.objdir}")
|
|
filter "platforms:Win32"
|
|
targetsuffix ""
|
|
filter "platforms:x64"
|
|
targetsuffix "64"
|
|
filter {}
|
|
-- end of "ConEmuHk"
|
|
|
|
|
|
|
|
|
|
-- ############################### --
|
|
-- ############################### --
|
|
-- ############################### --
|
|
project "Far.ConEmuPlugin"
|
|
kind "SharedLib"
|
|
language "C++"
|
|
--exceptionhandling "Off"
|
|
|
|
links {
|
|
"common-kernel",
|
|
"common-user",
|
|
"version",
|
|
}
|
|
|
|
files {
|
|
"src/ConEmuPlugin/*.cpp",
|
|
"src/ConEmuPlugin/*.h",
|
|
"src/ConEmuPlugin/*.rc",
|
|
"src/ConEmuPlugin/Lang.templ",
|
|
}
|
|
|
|
filter "action:vs*"
|
|
files "src/ConEmuPlugin/export.def"
|
|
filter "action:gmake"
|
|
files "src/ConEmuPlugin/export.gcc.def"
|
|
filter {}
|
|
|
|
vpaths {
|
|
{ ["Headers"] = {"**.h"} },
|
|
{ ["Sources"] = {"**.cpp"} },
|
|
{ ["Resources"] = {"**.rc", "**.rc2", "**.manifest", "**.templ"} },
|
|
{ ["Exports"] = {"**.def"} },
|
|
}
|
|
|
|
target_dir("plugins/ConEmu/")
|
|
targetname "ConEmu"
|
|
objdir ("%{wks.location}/"..build_dir.."/%{cfg.buildcfg}/%{prj.name}_%{cfg.platform}")
|
|
implibdir ("%{cfg.objdir}")
|
|
filter "platforms:Win32"
|
|
targetsuffix ""
|
|
filter "platforms:x64"
|
|
targetsuffix ".x64"
|
|
filter {}
|
|
-- end of "Far.ConEmuPlugin"
|
|
|
|
|
|
|
|
|
|
-- ############################### --
|
|
-- ############################### --
|
|
-- ############################### --
|
|
project "Far.ConEmuBg"
|
|
kind "SharedLib"
|
|
language "C++"
|
|
--exceptionhandling "Off"
|
|
|
|
links {
|
|
"common-kernel",
|
|
"common-user",
|
|
"version",
|
|
}
|
|
|
|
files {
|
|
"src/ConEmuBg/*.cpp",
|
|
"src/ConEmuBg/*.h",
|
|
"src/ConEmuBg/*.rc",
|
|
"src/ConEmuBg/Lang.templ",
|
|
}
|
|
|
|
filter "action:vs*"
|
|
files "src/ConEmuBg/export.def"
|
|
filter "action:gmake"
|
|
files "src/ConEmuBg/export.gcc.def"
|
|
filter {}
|
|
|
|
vpaths {
|
|
{ ["Headers"] = {"**.h"} },
|
|
{ ["Sources"] = {"**.cpp"} },
|
|
{ ["Resources"] = {"**.rc", "**.rc2", "**.manifest", "**.templ"} },
|
|
{ ["Exports"] = {"**.def"} },
|
|
}
|
|
|
|
target_dir("plugins/ConEmu/Background/")
|
|
targetname "ConEmuBg"
|
|
objdir ("%{wks.location}/"..build_dir.."/%{cfg.buildcfg}/%{prj.name}_%{cfg.platform}")
|
|
implibdir ("%{cfg.objdir}")
|
|
filter "platforms:Win32"
|
|
targetsuffix ""
|
|
filter "platforms:x64"
|
|
targetsuffix ".x64"
|
|
filter {}
|
|
-- end of "Far.ConEmuBg"
|
|
|
|
|
|
|
|
|
|
-- ############################### --
|
|
-- ############################### --
|
|
-- ############################### --
|
|
project "Far.ConEmuLn"
|
|
kind "SharedLib"
|
|
language "C++"
|
|
--exceptionhandling "Off"
|
|
|
|
links {
|
|
"common-kernel",
|
|
"common-user",
|
|
"version",
|
|
}
|
|
|
|
files {
|
|
"src/ConEmuLn/*.cpp",
|
|
"src/ConEmuLn/*.h",
|
|
"src/ConEmuLn/*.rc",
|
|
"src/ConEmuLn/Lang.templ",
|
|
}
|
|
|
|
filter "action:vs*"
|
|
files "src/ConEmuLn/export.def"
|
|
filter "action:gmake"
|
|
files "src/ConEmuLn/export.gcc.def"
|
|
filter {}
|
|
|
|
vpaths {
|
|
{ ["Headers"] = {"**.h"} },
|
|
{ ["Sources"] = {"**.cpp"} },
|
|
{ ["Resources"] = {"**.rc", "**.rc2", "**.manifest", "**.templ"} },
|
|
{ ["Exports"] = {"**.def"} },
|
|
}
|
|
|
|
target_dir("plugins/ConEmu/Lines/")
|
|
targetname "ConEmuLn"
|
|
objdir ("%{wks.location}/"..build_dir.."/%{cfg.buildcfg}/%{prj.name}_%{cfg.platform}")
|
|
implibdir ("%{cfg.objdir}")
|
|
filter "platforms:Win32"
|
|
targetsuffix ""
|
|
filter "platforms:x64"
|
|
targetsuffix ".x64"
|
|
filter {}
|
|
-- end of "Far.ConEmuLn"
|
|
|
|
|
|
|
|
|
|
-- ############################### --
|
|
-- ############################### --
|
|
-- ############################### --
|
|
project "Far.ConEmuTh"
|
|
kind "SharedLib"
|
|
language "C++"
|
|
--exceptionhandling "Off"
|
|
|
|
links {
|
|
"common-kernel",
|
|
"common-user",
|
|
"version",
|
|
}
|
|
|
|
files {
|
|
"src/ConEmuTh/*.cpp",
|
|
"src/ConEmuTh/*.h",
|
|
"src/ConEmuTh/*.rc",
|
|
"src/ConEmuTh/Lang.templ",
|
|
}
|
|
|
|
filter "action:vs*"
|
|
files "src/ConEmuTh/export.def"
|
|
filter "action:gmake"
|
|
files "src/ConEmuTh/export.gcc.def"
|
|
filter {}
|
|
|
|
vpaths {
|
|
{ ["Headers"] = {"**.h"} },
|
|
{ ["Sources"] = {"**.cpp"} },
|
|
{ ["Resources"] = {"**.rc", "**.rc2", "**.manifest", "**.templ", "**.templ"} },
|
|
{ ["Exports"] = {"**.def"} },
|
|
}
|
|
|
|
target_dir("plugins/ConEmu/Thumbs/")
|
|
targetname "ConEmuTh"
|
|
objdir ("%{wks.location}/"..build_dir.."/%{cfg.buildcfg}/%{prj.name}_%{cfg.platform}")
|
|
implibdir ("%{cfg.objdir}")
|
|
filter "platforms:Win32"
|
|
targetsuffix ""
|
|
filter "platforms:x64"
|
|
targetsuffix ".x64"
|
|
filter {}
|
|
-- end of "Far.ConEmuTh"
|
|
|
|
|
|
|
|
-- ############################### --
|
|
-- ############################### --
|
|
-- ############################### --
|
|
project "Far.ConEmuTh.gdi+"
|
|
kind "SharedLib"
|
|
language "C++"
|
|
exceptionhandling "Off"
|
|
|
|
links {
|
|
"common-kernel",
|
|
}
|
|
|
|
files {
|
|
"src/ConEmuTh/Modules/gdip/*.cpp",
|
|
"src/ConEmuTh/Modules/gdip/*.h",
|
|
"src/ConEmuTh/Modules/gdip/*.rc",
|
|
"src/ConEmuTh/Modules/gdip/gdip.def",
|
|
"src/ConEmuTh/Modules/ThumbSDK.h",
|
|
"src/ConEmuTh/Modules/MStream.h",
|
|
}
|
|
|
|
vpaths {
|
|
{ ["Headers"] = {"**.h"} },
|
|
{ ["Sources"] = {"**.cpp"} },
|
|
{ ["Resources"] = {"**.rc", "**.rc2", "**.manifest"} },
|
|
{ ["Exports"] = {"**.def"} },
|
|
}
|
|
|
|
targetname "gdi+"
|
|
objdir ("%{wks.location}/"..build_dir.."/%{cfg.buildcfg}/%{prj.name}_%{cfg.platform}")
|
|
targetdir ("%{cfg.objdir}")
|
|
implibdir ("%{cfg.objdir}")
|
|
postbuild_module ("gdi+")
|
|
-- end of "Far.ConEmuTh.gdi+"
|
|
|
|
|
|
|
|
|
|
-- ############################### --
|
|
-- ############################### --
|
|
-- ############################### --
|
|
project "Far.ConEmuTh.ico"
|
|
kind "SharedLib"
|
|
language "C++"
|
|
exceptionhandling "Off"
|
|
|
|
links {
|
|
"common-kernel",
|
|
}
|
|
|
|
files {
|
|
"src/ConEmuTh/Modules/ico/*.cpp",
|
|
"src/ConEmuTh/Modules/ico/*.h",
|
|
"src/ConEmuTh/Modules/ico/*.rc",
|
|
"src/ConEmuTh/Modules/ico/ico.def",
|
|
"src/ConEmuTh/Modules/ThumbSDK.h",
|
|
"src/ConEmuTh/Modules/MStream.h",
|
|
}
|
|
|
|
removefiles {
|
|
"**/!*.*",
|
|
}
|
|
|
|
vpaths {
|
|
{ ["Headers"] = {"**.h"} },
|
|
{ ["Sources"] = {"**.cpp"} },
|
|
{ ["Resources"] = {"**.rc", "**.rc2", "**.manifest"} },
|
|
{ ["Exports"] = {"**.def"} },
|
|
}
|
|
|
|
targetname "ico"
|
|
objdir ("%{wks.location}/"..build_dir.."/%{cfg.buildcfg}/%{prj.name}_%{cfg.platform}")
|
|
targetdir ("%{cfg.objdir}")
|
|
implibdir ("%{cfg.objdir}")
|
|
postbuild_module ("ico")
|
|
-- end of "Far.ConEmuTh.ico"
|
|
|
|
|
|
|
|
|
|
-- ############################### --
|
|
-- ############################### --
|
|
-- ############################### --
|
|
project "Far.ConEmuTh.pe"
|
|
kind "SharedLib"
|
|
language "C++"
|
|
exceptionhandling "Off"
|
|
|
|
links {
|
|
"common-kernel",
|
|
}
|
|
|
|
files {
|
|
"src/ConEmuTh/Modules/pe/*.cpp",
|
|
"src/ConEmuTh/Modules/pe/*.h",
|
|
"src/ConEmuTh/Modules/pe/*.rc",
|
|
"src/ConEmuTh/Modules/pe/pe.def",
|
|
"src/ConEmuTh/Modules/ThumbSDK.h",
|
|
}
|
|
|
|
vpaths {
|
|
{ ["Headers"] = {"**.h"} },
|
|
{ ["Sources"] = {"**.cpp"} },
|
|
{ ["Resources"] = {"**.rc", "**.rc2", "**.manifest"} },
|
|
{ ["Exports"] = {"**.def"} },
|
|
}
|
|
|
|
targetname "pe"
|
|
objdir ("%{wks.location}/"..build_dir.."/%{cfg.buildcfg}/%{prj.name}_%{cfg.platform}")
|
|
targetdir ("%{cfg.objdir}")
|
|
implibdir ("%{cfg.objdir}")
|
|
postbuild_module ("pe")
|
|
-- end of "Far.ConEmuTh.pe"
|
|
|
|
|
|
|
|
|
|
-- ############################### --
|
|
-- ############################### --
|
|
-- ############################### --
|
|
project "Far.ExtendedConsole"
|
|
kind "SharedLib"
|
|
language "C++"
|
|
exceptionhandling "Off"
|
|
|
|
links {
|
|
"common-kernel",
|
|
}
|
|
|
|
files {
|
|
"src/ConEmuDW/*.cpp",
|
|
"src/ConEmuDW/*.h",
|
|
"src/ConEmuDW/*.rc",
|
|
}
|
|
|
|
removefiles {
|
|
"**/!*.*",
|
|
}
|
|
|
|
filter "action:vs*"
|
|
files "src/ConEmuDW/export.def"
|
|
filter "action:gmake"
|
|
files "src/ConEmuDW/export.gcc.def"
|
|
filter {}
|
|
|
|
vpaths {
|
|
{ ["Headers"] = {"**.h"} },
|
|
{ ["Sources"] = {"**.cpp"} },
|
|
{ ["Resources"] = {"**.rc", "**.rc2", "**.manifest"} },
|
|
{ ["Exports"] = {"**.def"} },
|
|
}
|
|
|
|
target_dir("ConEmu/") -- local function
|
|
targetname ("ExtendedConsole")
|
|
objdir ("%{wks.location}/"..build_dir.."/%{cfg.buildcfg}/%{prj.name}_%{cfg.platform}")
|
|
-- implibdir ("%{wks.location}/"..build_dir.."/%{cfg.buildcfg}/%{prj.name}_%{cfg.platform}")
|
|
implibdir ("%{cfg.objdir}")
|
|
filter "platforms:Win32"
|
|
targetsuffix ""
|
|
filter "platforms:x64"
|
|
targetsuffix "64"
|
|
filter {}
|
|
-- end of "Far.ExtendedConsole"
|