mirror of
https://github.com/gwm17/Mask.git
synced 2024-11-22 10:18:50 -05:00
Update premake
This commit is contained in:
parent
fe770fe6ca
commit
95c05cc3af
67
premake5.lua
67
premake5.lua
|
@ -5,14 +5,14 @@ workspace "Mask"
|
|||
}
|
||||
|
||||
project "Mask"
|
||||
kind "ConsoleApp"
|
||||
kind "StaticLib"
|
||||
language "C++"
|
||||
targetdir "bin"
|
||||
targetdir "lib"
|
||||
objdir "objs"
|
||||
cppdialect "C++11"
|
||||
cppdialect "C++17"
|
||||
|
||||
files {
|
||||
"src/*.cpp",
|
||||
"src/Mask/*.cpp",
|
||||
"include/*.h"
|
||||
}
|
||||
|
||||
|
@ -31,21 +31,16 @@ project "RootPlot"
|
|||
language "C++"
|
||||
targetdir "bin"
|
||||
objdir "objs"
|
||||
cppdialect "c++11"
|
||||
cppdialect "c++17"
|
||||
|
||||
files {
|
||||
"src/Plotters/ROOT/RootPlotter.cpp",
|
||||
"src/MaskFile.cpp",
|
||||
"src/Nucleus.cpp",
|
||||
"src/Vec4.cpp",
|
||||
"src/Vec3.cpp",
|
||||
"src/MassLookup.cpp",
|
||||
"include/*.h"
|
||||
}
|
||||
|
||||
--User specified path to ROOT CERN libraries--
|
||||
ROOTIncludepath = "/usr/include/root"
|
||||
ROOTLibpath = "/usr/lib64/root"
|
||||
ROOTIncludepath = "/Users/gordon/Cern/root/include"
|
||||
ROOTLibpath = "/Users/gordon/Cern/root/lib"
|
||||
|
||||
includedirs {
|
||||
"include"
|
||||
|
@ -56,11 +51,12 @@ project "RootPlot"
|
|||
}
|
||||
|
||||
libdirs {
|
||||
"lib/",
|
||||
ROOTLibpath
|
||||
}
|
||||
|
||||
links {
|
||||
"Gui", "Core", "Imt", "RIO", "Net", "Hist",
|
||||
"Mask", "Gui", "Core", "Imt", "RIO", "Net", "Hist",
|
||||
"Graf", "Graf3d", "Gpad", "ROOTDataFrame", "ROOTVecOps",
|
||||
"Tree", "TreePlayer", "Rint", "Postscript", "Matrix",
|
||||
"Physics", "MathCore", "Thread", "MultiProc", "m", "dl"
|
||||
|
@ -77,24 +73,45 @@ project "RootPlot"
|
|||
filter "configurations:Release"
|
||||
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"
|
||||
kind "ConsoleApp"
|
||||
language "C++"
|
||||
targetdir "bin"
|
||||
objdir "objs"
|
||||
cppdialect "c++11"
|
||||
cppdialect "c++17"
|
||||
|
||||
files {
|
||||
"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"
|
||||
}
|
||||
|
||||
|
@ -102,6 +119,10 @@ project "DetectEff"
|
|||
"include"
|
||||
}
|
||||
|
||||
links {
|
||||
"Mask"
|
||||
}
|
||||
|
||||
filter "configurations:Debug"
|
||||
symbols "On"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user