Skip to content

Instantly share code, notes, and snippets.

@flyx
Created February 22, 2012 18:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save flyx/1886441 to your computer and use it in GitHub Desktop.
Save flyx/1886441 to your computer and use it in GitHub Desktop.
aggregate project OpenCLAda is
type Toggle is ("Enabled", "Disabled");
GL_Support : Toggle := external ("GL_BINDING"; "Disabled");
case GL_Support is
when "Enabled" =>
for Project_Files use ("openclada_gl_binding.gpr");
when "Disabled" =>
for Project_Files use ("openclada_core.gpr");
end case;
end OpenCLAda;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment