1
0
Fork 0
mirror of https://github.com/gwm17/Mask.git synced 2024-11-22 18:28:51 -05:00
Mask/premake5.lua

131 lines
1.8 KiB
Lua
Raw Normal View History

workspace "Mask"
configurations {
"Release",
"Debug"
}
project "Mask"
2022-06-08 15:11:05 -04:00
kind "StaticLib"
language "C++"
2022-06-08 15:11:05 -04:00
targetdir "lib"
objdir "objs"
2022-06-08 15:11:05 -04:00
cppdialect "C++17"
files {
2022-06-08 15:11:05 -04:00
"src/Mask/*.cpp",
"include/*.h"
}
includedirs {
"include"
}
filter "configurations:Debug"
symbols "On"
filter "configurations:Release"
optimize "On"
project "RootPlot"
kind "ConsoleApp"
language "C++"
targetdir "bin"
objdir "objs"
2022-06-08 15:11:05 -04:00
cppdialect "c++17"
files {
"src/Plotters/ROOT/RootPlotter.cpp",
"include/*.h"
}
--User specified path to ROOT CERN libraries--
2022-06-08 15:11:05 -04:00
ROOTIncludepath = "/Users/gordon/Cern/root/include"
ROOTLibpath = "/Users/gordon/Cern/root/lib"
includedirs {
"include"
}
sysincludedirs {
ROOTIncludepath
}
libdirs {
2022-06-08 15:11:05 -04:00
"lib/",
ROOTLibpath
}
links {
2022-06-08 15:11:05 -04:00
"Mask", "Gui", "Core", "Imt", "RIO", "Net", "Hist",
"Graf", "Graf3d", "Gpad", "ROOTDataFrame", "ROOTVecOps",
"Tree", "TreePlayer", "Rint", "Postscript", "Matrix",
"Physics", "MathCore", "Thread", "MultiProc", "m", "dl"
}
filter "system:macosx or linux"
linkoptions {
"-pthread"
}
filter "configurations:Debug"
symbols "On"
filter "configurations:Release"
optimize "On"
2022-06-08 15:11:05 -04:00
project "MaskApp"
kind "ConsoleApp"
language "C++"
targetdir "bin"
objdir "objs"
cppdialect "c++17"
files {
"src/MaskApp/*.cpp"
}
includedirs {
"include"
}
links {
"Mask"
}
filter "system:macosx or linux"
linkoptions {
"-pthread"
}
filter "configurations:Debug"
symbols "On"
filter "configurations:Release"
optimize "On"
project "DetectEff"
kind "ConsoleApp"
language "C++"
targetdir "bin"
objdir "objs"
2022-06-08 15:11:05 -04:00
cppdialect "c++17"
files {
"src/Detectors/*.cpp",
"include/*.h"
}
includedirs {
"include"
}
2022-06-08 15:11:05 -04:00
links {
"Mask"
}
filter "configurations:Debug"
symbols "On"
filter "configurations:Release"
optimize "On"