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

Update premake

This commit is contained in:
Gordon McCann 2022-06-08 15:11:05 -04:00
parent fe770fe6ca
commit 95c05cc3af

View File

@ -5,14 +5,14 @@ workspace "Mask"
} }
project "Mask" project "Mask"
kind "ConsoleApp" kind "StaticLib"
language "C++" language "C++"
targetdir "bin" targetdir "lib"
objdir "objs" objdir "objs"
cppdialect "C++11" cppdialect "C++17"
files { files {
"src/*.cpp", "src/Mask/*.cpp",
"include/*.h" "include/*.h"
} }
@ -31,21 +31,16 @@ project "RootPlot"
language "C++" language "C++"
targetdir "bin" targetdir "bin"
objdir "objs" objdir "objs"
cppdialect "c++11" cppdialect "c++17"
files { files {
"src/Plotters/ROOT/RootPlotter.cpp", "src/Plotters/ROOT/RootPlotter.cpp",
"src/MaskFile.cpp",
"src/Nucleus.cpp",
"src/Vec4.cpp",
"src/Vec3.cpp",
"src/MassLookup.cpp",
"include/*.h" "include/*.h"
} }
--User specified path to ROOT CERN libraries-- --User specified path to ROOT CERN libraries--
ROOTIncludepath = "/usr/include/root" ROOTIncludepath = "/Users/gordon/Cern/root/include"
ROOTLibpath = "/usr/lib64/root" ROOTLibpath = "/Users/gordon/Cern/root/lib"
includedirs { includedirs {
"include" "include"
@ -56,11 +51,12 @@ project "RootPlot"
} }
libdirs { libdirs {
"lib/",
ROOTLibpath ROOTLibpath
} }
links { links {
"Gui", "Core", "Imt", "RIO", "Net", "Hist", "Mask", "Gui", "Core", "Imt", "RIO", "Net", "Hist",
"Graf", "Graf3d", "Gpad", "ROOTDataFrame", "ROOTVecOps", "Graf", "Graf3d", "Gpad", "ROOTDataFrame", "ROOTVecOps",
"Tree", "TreePlayer", "Rint", "Postscript", "Matrix", "Tree", "TreePlayer", "Rint", "Postscript", "Matrix",
"Physics", "MathCore", "Thread", "MultiProc", "m", "dl" "Physics", "MathCore", "Thread", "MultiProc", "m", "dl"
@ -77,24 +73,45 @@ project "RootPlot"
filter "configurations:Release" filter "configurations:Release"
optimize "On" optimize "On"
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" project "DetectEff"
kind "ConsoleApp" kind "ConsoleApp"
language "C++" language "C++"
targetdir "bin" targetdir "bin"
objdir "objs" objdir "objs"
cppdialect "c++11" cppdialect "c++17"
files { files {
"src/Detectors/*.cpp", "src/Detectors/*.cpp",
"src/MaskFile.cpp",
"src/Nucleus.cpp",
"src/Vec4.cpp",
"src/Vec3.cpp",
"src/MassLookup.cpp",
"src/Rotation.cpp",
"src/Target.cpp",
"src/EnergyLoss.cpp",
"src/RandomGenerator.cpp",
"include/*.h" "include/*.h"
} }
@ -102,6 +119,10 @@ project "DetectEff"
"include" "include"
} }
links {
"Mask"
}
filter "configurations:Debug" filter "configurations:Debug"
symbols "On" symbols "On"