Skip to content
  • Thomas Debesse's avatar
    cmake: do not use WIN32 for console tools · 0f91bcf3
    Thomas Debesse authored
    allow them to output stdout on console and spawn a console if required
    
    it's not very intuitive and explicit but the WIN32 cmake keyword
    in add_executable call is to not target the console subsystem but
    only the graphical one
    
    so console tools just have to not use that keyword, even if they imay
    display a window like when doing q2map -glview
    
    then the WIN32 keyword is a kind of “no console” keyword
    0f91bcf3