Fixed build.py to work on MS Windows

- added .gitignore to ignore the obj folder and compiled Python scripts
This commit is contained in:
Elias Bachaalany
2019-12-05 14:16:26 -08:00
parent 752ba3896e
commit c74e082408
3 changed files with 5 additions and 3 deletions
+2
View File
@@ -0,0 +1,2 @@
obj/
*.pyc
+2 -2
View File
@@ -67,7 +67,7 @@ def main():
"OUT_OF_TREE_BUILD" : "1"
}
if args.swig_home:
env["SWIG_HOME"] = args.swig_home
env["SWIG_HOME"] = args.swig_home.replace('\\', '/')
if args.with_hexrays:
env["HAS_HEXRAYS"] = "1"
if args.debug:
@@ -76,7 +76,7 @@ def main():
env["NDEBUG"] = "1"
if args.verbose:
argv.append("-d")
env["IDC_BC695_IDC_SOURCE"] = args.idc
env["IDC_BC695_IDC_SOURCE"] = args.idc.replace('\\', '/')
for ea64 in [True, False]:
if ea64:
env["__EA64__"] = "1"
+1 -1
View File
@@ -371,7 +371,7 @@ $(PARSED_HEADERS_MARKER): $(ST_SDK_TARGETS) $(ST_PARSED_HEADERS_CONFIG) $(ST_SDK
ifeq ($(OUT_OF_TREE_BUILD),)
$(Q)( cat $(ST_PARSED_HEADERS_CONFIG); echo "OUTPUT_DIRECTORY=$(ST_PARSED_HEADERS_NOXML)" ) | $(DOXYGEN_BIN) - >/dev/null
else
(cd $(F) && unzip ../../out_of_tree/parsed_notifications.zip)
(cd $(F) && unzip ../../../out_of_tree/parsed_notifications.zip)
endif
$(Q)touch $@