• Stars
    star
    12
  • Rank 1,547,592 (Top 32 %)
  • Language
  • License
    GNU General Publi...
  • Created over 9 years ago
  • Updated over 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Ada language support for CMake.

Ada language support for CMake.

Installation

cmake -P install.cmake

Alternative:

Copy the content of Modules directory into Modules of the CMake installation.

Usage

The Ada language is enabled by either project(<NAME> ADA) or enable_language(ADA) within the CMakeLists.txt.

CMake is used as usual:

# Out of source build
$ mkdir build
$ cd build

$ cmake ..
$ make

Example

cmake_minium_required(VERSION 2.6)

project(AdaTest)


# Enable Ada support
enable_language(ADA)

# Build an executable with a source file and a package
add_executable(${PROJECT_NAME} src/Main.adb src/TestPackge.ads)

# Build a (static) library
add_library(${PROJECT_NAME}-static src/TestLib.adb)

This will build an application AdaTest and a static library libAdaTest-static.a.

Limitations

Since this modul is in a very early development state, there are some limitations at the moment:

  • only GNAT is supported
  • gnat make is used instead of gnat compile / gnat bind / gnat link
  • Shared libraries / modules are not supported yet

License

GNU General Public License (GPL)

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

More Repositories

1

android-foss

A list of Free and Open Source Software (FOSS) for Android – saving Freedom and Privacy.
Shell
4,544
star
2

influxdb-cxx

InfluxDB C++ client library.
C++
102
star
3

plug

Software for Fender Mustang Amps.
C++
39
star
4

scope-guard

Implementation of Scoped Guards and Unique Resource as proposed in P0052.
C++
39
star
5

keygen

KeyGen is a generator for keys and passwords.
C
17
star
6

stm32-eth

Experimental C++ Ethernet driver for Stm32 boards using W5100.
C
16
star
7

NBCndUnit

NetBeans C/C++ unit testing plugin – supporting CppUTest, GoogleTest (gtest) / GoogleMock (gmock) and libunittest C++.
Java
13
star
8

NB-CMake-Completion

NetBeans plugin providing (code-)completion for CMake files.
Java
8
star
9

cpp-guards

C++ RAII template classes / scope guards.
C++
8
star
10

nvim-config

Neovim config using vim-plug.
Lua
7
star
11

midi-footswitch

An Aruduino based USB MIDI Controller.
C++
4
star
12

conan-restclient-cpp

Conan recipe for restclient-cpp.
Python
3
star
13

docker-images

Docker Images.
Dockerfile
3
star
14

matcher

C++11 Hamcrest like Matcher implementation.
C++
2
star
15

danek

A configuration library for C++.
C++
2
star
16

CPUnit

A fork of CPUnit (http://cpunit.sourceforge.net/). CPUnit is a unit test framework for C++ applications and programs.
C++
2
star
17

ElsockControllerJava

A controller library for Elsock-devices written in Java.
Java
2
star
18

jenkins-push-url-generator

Generates Git Push Notification URLs for Jenkins.
Python
2
star
19

maven-action

GitHub Action to build Maven projects with different Java JDK versions.
Java
2
star
20

trackpack

Packaging of audio files / stems.
Python
2
star
21

git-update-script

Script to update all local git repositories from their remotes.
Shell
2
star
22

ElsockControllerCpp

A controller application / library for Elsock-devices written in C++ / Qt 5.
C++
2
star
23

release-tool

Tool to create project releases.
Python
2
star
24

docker-images-ci

Docker Images for CI.
Shell
1
star
25

cet

Simple test execution, mostly for container environments.
C++
1
star
26

ci-playground

Playground for CI testing.
1
star
27

misc-tools

Collection of scripts and other tools.
Shell
1
star