if(WIN32) add_compile_definitions(NOMINMAX) endif()