mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-14 12:35:22 +02:00
21 lines
733 B
C
21 lines
733 B
C
/*
|
|
============================================================================
|
|
Name : exampleProgram.c
|
|
Author : $(author)
|
|
Version :
|
|
Copyright : $(copyright)
|
|
Description : Uses shared library to print greeting
|
|
To run the resulting executable the LD_LIBRARY_PATH must be
|
|
set to ${project_loc}/$(libName)/.libs
|
|
Alternatively, libtool creates a wrapper shell script in the
|
|
build directory of this program which can be used to run it.
|
|
Here the script will be called exampleProgram.
|
|
============================================================================
|
|
*/
|
|
|
|
#include "$(libName).h"
|
|
|
|
int main(void) {
|
|
print_hello();
|
|
return 0;
|
|
}
|