commandline
This commit is contained in:
parent
5c4318bcda
commit
bb582596b1
5 changed files with 58 additions and 0 deletions
|
|
@ -5,3 +5,33 @@ project(
|
|||
VERSION 0.0
|
||||
DESCRIPTION "MDE Libraries"
|
||||
)
|
||||
|
||||
file(
|
||||
GLOB
|
||||
SOURCES
|
||||
src/*.c
|
||||
)
|
||||
|
||||
add_library(
|
||||
MDE
|
||||
SHARED
|
||||
${SOURCES}
|
||||
)
|
||||
|
||||
target_include_directories(
|
||||
MDE
|
||||
PUBLIC
|
||||
include
|
||||
)
|
||||
|
||||
include(GNUInstallDirs)
|
||||
install(
|
||||
TARGETS MDE
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
)
|
||||
install(
|
||||
DIRECTORY ${CMAKE_SOURCE_DIR}/include/
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
|
||||
FILES_MATCHING PATTERN "*.h"
|
||||
)
|
||||
|
|
|
|||
12
include/MDE/CommandLine.h
Normal file
12
include/MDE/CommandLine.h
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#ifndef __MDE_COMMANDLINE_H__
|
||||
#define __MDE_COMMANDLINE_H__
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
6
include/MDE/Foundation.h
Normal file
6
include/MDE/Foundation.h
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#ifndef __MDE_FOUNDATION_H__
|
||||
#define __MDE_FOUNDATION_H__
|
||||
|
||||
#include <MDE/CommandLine.h>
|
||||
|
||||
#endif
|
||||
9
include/MDE/MachDep.h
Normal file
9
include/MDE/MachDep.h
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#ifndef __MDE_MACHDEP_H__
|
||||
#define __MDE_MACHDEP_H__
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdarg.h>
|
||||
#include <string.h>
|
||||
|
||||
#endif
|
||||
1
src/commandline.c
Normal file
1
src/commandline.c
Normal file
|
|
@ -0,0 +1 @@
|
|||
#include <MDE/CommandLine.h>
|
||||
Loading…
Add table
Add a link
Reference in a new issue