X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=bundles%2Forg.simantics.fastlz%2Fnative%2Fcompile.bat;fp=bundles%2Forg.simantics.fastlz%2Fnative%2Fcompile.bat;h=22968b87cc2b8d3bc1e29ec2d6b48b59e7c7999c;hb=969bd23cab98a79ca9101af33334000879fb60c5;hp=0000000000000000000000000000000000000000;hpb=866dba5cd5a3929bbeae85991796acb212338a08;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.fastlz/native/compile.bat b/bundles/org.simantics.fastlz/native/compile.bat new file mode 100644 index 000000000..22968b87c --- /dev/null +++ b/bundles/org.simantics.fastlz/native/compile.bat @@ -0,0 +1,14 @@ +@rem *************************************************************************** +@rem Copyright (c) 2007, 2010 Association for Decentralized Information Management +@rem in Industry THTH ry. +@rem All rights reserved. This program and the accompanying materials +@rem are made available under the terms of the Eclipse Public License v1.0 +@rem which accompanies this distribution, and is available at +@rem http://www.eclipse.org/legal/epl-v10.html +@rem +@rem Contributors: +@rem VTT Technical Research Centre of Finland - initial API and implementation +@rem *************************************************************************** +rem gcc -mno-cygwin "-I$jdk/include" "-I$jdk$jdk/include/win32" -Wl,--add-stdcall-alias -shared -o ../src/fastlz-windows-x86.dll fastlz.c lz4.c lz4hc.c jniWrapper.c +gcc -mno-cygwin "-I%JAVA_HOME%/include" "-I%JAVA_HOME%/include/win32" -Wl,--add-stdcall-alias -shared -o ../src/fastlz-windows-x86.dll fastlz.c lz4.c lz4hc.c jniWrapper.c +gcc -o fastlz_test.exe fastlz.c fastlz_read.c fastlz_write.c fastlz_test.c