sgp4
sgp4 copied to clipboard
Changes to accomodate build on Windows
- removed librt dependency
- specify C++11 as standard
- remove some compiler flags
- added WindowsUtcTimeSource singleton class (determines if GetSystemTimePreciseAsFileTime is available)
- updated DateTime::Now to use WindowsUtcTimeSource if compiling on Windows
Apologies for the delay in response.
- Compiler flags: no problem.
- I removed the LIBRARY target specifier was removed from the install command for sgp4s because shared libraries are treated as runtime objects. It exhibits the same behaviour without the target specifier when I build on linux/mac.
- From what I've read, the epoch of std::chrono::system_clock is de facto the unix epoch (seems to be the case between the major compilers)...but I suppose it's not technically guaranteed. The alternative is that ugly workaround - I'll do whichever you prefer.