tcmdlineoswin.nim 331 B

123456789101112131415
  1. discard """
  2. cmd: "nim $target $options --os:windows $file"
  3. disabled: "linux"
  4. disabled: "bsd"
  5. disabled: "osx"
  6. disabled: "unix"
  7. disabled: "posix"
  8. """
  9. import strutils
  10. static:
  11. #os is set to "linux" in toswin.nim.cfg, but --os:windows in command line should override it.
  12. doAssert cmpIgnoreCase(hostOS, "windows") == 0