Permalink
Browse files

Full windows build from command line using MINGW64, mvaen and nmake

  • Loading branch information...
bnorthan committed Dec 3, 2018
1 parent fbd7fb9 commit 7df9bc6a065d5292c531348a72fd6b5568c5f1b9
@@ -0,0 +1,11 @@
YacuDecu.lib: deconv.obj
nvcc -lib -Xlinker=/EXPORT:deconv_device -Xlinker=/EXPORT:conv_device -o YacuDecu.lib deconv.obj -lcufft

deconv.obj:
nvcc -Xcompiler=/MD -O3 -c -o deconv.obj ../src/deconv.cu

install:
mv YacuDecu.lib ../../lib/

clean:
del *.asv *.dll *.exp *.lib *.obj mccExcludedFiles.log readme.txt
@@ -26,7 +26,12 @@ case $PLATFORM in
echo "TODO"
;;
windows-x86_64)
echo "TODO"
echo "Windows-x86 64 build"
cp ../Makefile.windows Makefile.windows
mkdir -p ../../lib
nmake -f Makefile.windows clean
nmake -f Makefile.windows
nmake -f Makefile.windows install
;;
*)
echo "Error: Platform \"$PLATFORM\" is not supported"
@@ -0,0 +1,8 @@
YacuDecu.lib: deconv.obj
nvcc -lib -Xlinker=/EXPORT:deconv_device -Xlinker=/EXPORT:conv_device -o YacuDecu.lib deconv.obj -lcufft

deconv.obj: deconv.cu
nvcc -Xcompiler=/MD -O3 -c -o deconv.obj deconv.cu

clean:
del *.asv *.dll *.exp *.lib *.obj mccExcludedFiles.log readme.txt
@@ -81,7 +81,7 @@
<plugins>

<!-- Execute cppbuild.sh to build libraries -->
<!-- <plugin>
<plugin>
<artifactId>exec-maven-plugin</artifactId>
<groupId>org.codehaus.mojo</groupId>
<executions>
@@ -98,7 +98,7 @@
</configuration>
</execution>
</executions>
</plugin> -->
</plugin>

<plugin>
<artifactId>maven-enforcer-plugin</artifactId>

0 comments on commit 7df9bc6

Please sign in to comment.