mirror of
https://github.com/idapython/src
synced 2026-06-08 14:47:00 +00:00
Fixed build.py to work on MS Windows
- added .gitignore to ignore the obj folder and compiled Python scripts
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
obj/
|
||||
*.pyc
|
||||
@@ -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"
|
||||
|
||||
@@ -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 $@
|
||||
|
||||
|
||||
Reference in New Issue
Block a user