insert erase find
This commit is contained in:
BIN
build/__pycache__/amsbuildlib4.cpython-312.pyc
Normal file
BIN
build/__pycache__/amsbuildlib4.cpython-312.pyc
Normal file
Binary file not shown.
@ -8,16 +8,16 @@ from shutil import copytree
|
||||
from amsbuildlib4 import *
|
||||
|
||||
libname = "amscppnarray.msvc64" #static library name to generate
|
||||
binname = "tests" #create this executable when compiling main.c or main.cpp
|
||||
binname = "tests.exe" #create this executable when compiling main.c or main.cpp
|
||||
commondir = "../../winx64" #common directory to pul libraries and includes from
|
||||
depdir = "./dependencies/winx64" #local pre-compiled dependency libraries and their includes
|
||||
installdir = "../../winx64" #directory to install to when finished
|
||||
builddir = "./build_msvc64"
|
||||
|
||||
doinstall = False #copies the build_output to the install dir when finished
|
||||
doinstall = True #copies the build_output to the install dir when finished
|
||||
cc = "cl" #compiler
|
||||
cflags = "/O2"
|
||||
libraries = "lib{}.lib".format(libname)
|
||||
cflags = "/O2 /EHsc"
|
||||
libraries = "lib{}.lib libamsmathutil2.msvc64.lib".format(libname)
|
||||
libdirs = "/LIBPATH:{} /LIBPATH:{}/lib /LIBPATH:{}/lib".format(builddir,commondir,depdir)
|
||||
linkerflags = "-static -static-libgcc -Wl,-rpath=."
|
||||
srcexts = [".c",".cpp"]
|
||||
@ -54,7 +54,7 @@ if(doinstall):
|
||||
#Copy a binary to the common bin folder
|
||||
|
||||
#Push any libraries to the common lib folder
|
||||
shutil.copy('{}/lib/lib{}.lib'.format(builddir,libname),commondir)
|
||||
shutil.copy('{}/lib{}.lib'.format(builddir,libname),"{}/lib".format(commondir))
|
||||
|
||||
#Copy include files to the common include folder
|
||||
copytree('./include/',commondir+'/include/',dirs_exist_ok=True)
|
||||
|
@ -14,12 +14,12 @@ depdir = "./dependencies/winx64" #local pre-compiled dependency libraries and th
|
||||
installdir = "../../winx64" #directory to install to when finished
|
||||
builddir = "./build_msvc64"
|
||||
|
||||
doinstall = False #copies the build_output to the install dir when finished
|
||||
doinstall = True #copies the build_output to the install dir when finished
|
||||
cc = "cl" #compiler
|
||||
cflags = "/O2"
|
||||
libraries = "lib{}.lib".format(libname)
|
||||
cflags = "/O2 /EHsc"
|
||||
libraries = "lib{}.lib libamsmathutil2.msvc64.lib".format(libname)
|
||||
libdirs = "/LIBPATH:{} /LIBPATH:{}/lib /LIBPATH:{}/lib".format(builddir,commondir,depdir)
|
||||
linkerflags = ""
|
||||
linkerflags = "-static -static-libgcc -Wl,-rpath=."
|
||||
srcexts = [".c",".cpp"]
|
||||
binsrc = ["main.c","main.cpp"] #ignore these files when compiling the static library
|
||||
|
||||
|
Reference in New Issue
Block a user