-
-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simpler Example #3
Comments
Pkg.test compiles Matcha.jl, which is my smallest and most independant package :) |
SimonDanisch
pushed a commit
that referenced
this issue
Feb 13, 2018
* Avoid need to change program.c by providing name. Changes juliac.jl to provide the name of the created shared lib ("libhello") to the c preprocessor as a macro, via "-D". This way you do not need to modify the provided program.c when compiling a new julia program. Addresses issue #3. * fix: Also use macro for libname in program2.c * Update README to reflect macro defined libname. Remove references from README to changing the image name manually in `program.c`. Add note about the availability of the image lib name in the C preprocessor macro. * Rename lib-name macro variable; remove default val. s/JULIA_LIB_NAME/JULIAC_JL_PROGRAM_LIBNAME/g; Remove default value. The libname *must* be provided on the commandline via `-DJULIAC_JL_PROGRAM_LIBNAME="libname"`.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Makie is a great example - but would be great to have a simpler example that is easy for people to try out.
The text was updated successfully, but these errors were encountered: