* 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
22 lines
No EOL
382 B
Lua
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" } |