cpplab/premake/clock.lua
balhau@balhau.net 9e821b96a7
Refactor on premake5 more on types
* Refactor platform/types.hpp, added some support for x86 32bit types
* Refactor platform/platform.hpp, add #ifdef conditionals to detect x86,
32bit and 64bit arch
* Implement 32bit and 64bit getTimestamp based in assembly rdtsc. For
32bit a struct composed by two 32bit numbers was devised to represent a
ULong data type of 64bits
2021-12-26 13:55:10 +00:00

22 lines
No EOL
382 B
Lua

project "clock"
kind "ConsoleApp"
language "c++"
targetdir "../bin/%{cfg.buildcfg}"
objdir "../obj"
--files {"**.hpp","**.cpp"}
files {
"../app/clock.cpp",
"../src/cpu/**.hpp",
"../src/cpu/**.cpp"
}
filter "configurations:Debug"
defines { "DEBUG" }
symbols "On"
filter "configurations:Release"
defines { "NDEBUG" }
optimize "On"
filter { "system:linux" }