mirror of
https://github.com/boostorg/histogram.git
synced 2025-05-09 23:04:07 +00:00
Add missing copyright header to CMakeLists.txt. Rename build directory to tools. Update Travis CI and AppVeyor scripts. Ignore variants of build directory. Ignore CMakeSettings.json used with CMake integration for VS2017. Ignore Visual Studio and Visual Studio Code local settings folder.
25 lines
566 B
Python
25 lines
566 B
Python
# Copyright 2018 Hans Dembinski
|
|
#
|
|
# Distributed under the Boost Software License, Version 1.0.
|
|
# (See accompanying file LICENSE_1_0.txt
|
|
# or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
import subprocess as subp
|
|
import sys
|
|
import os
|
|
|
|
args = sys.argv[1:]
|
|
|
|
# modify path for windows [this is a hotfix]
|
|
t = os.path.join(os.getcwd(), "Debug", args[0] + ".exe")
|
|
sys.stdout.write("input file: " + t + "\n")
|
|
if os.path.exists(t):
|
|
args[0] = t
|
|
|
|
if not os.path.isabs(args[0]):
|
|
args[0] = os.path.abspath(args[0])
|
|
|
|
exit_code = subp.call(args)
|
|
|
|
sys.exit(not exit_code)
|