mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-27 19:10:52 +00:00
Changed: #842 Added pkg-config files
This commit is contained in:
parent
7c68da86db
commit
5b1ac86c52
14 changed files with 78 additions and 4 deletions
|
@ -664,6 +664,8 @@ SOURCE_GROUP(Shadows FILES
|
|||
|
||||
IF(NOT WIN32)
|
||||
ADD_LIBRARY(nel3d SHARED ${SRC})
|
||||
CONFIGURE_FILE(nel-3d.pc.in nel-3d.pc)
|
||||
INSTALL(FILES nel-3d.pc DESTINATION lib/pkgconfig)
|
||||
ELSE(NOT WIN32)
|
||||
ADD_LIBRARY(nel3d STATIC ${SRC})
|
||||
ENDIF(NOT WIN32)
|
||||
|
|
|
@ -4,8 +4,8 @@ libdir=@libdir@
|
|||
includedir=@includedir@
|
||||
|
||||
Name: nel-3d
|
||||
Version: @VERSION@
|
||||
Description: NeL @VERSION@
|
||||
Version: @NL_VERSION@
|
||||
Description: NeL @NL_VERSION@
|
||||
Reqiures:
|
||||
Libs: -L${libdir}
|
||||
Libs.private: @LIBS@ @FREETYPE_LIBS@ -lc
|
||||
|
|
|
@ -6,6 +6,8 @@ SOURCE_GROUP(headers FILES ${PRIV_H} ${PUB_H})
|
|||
|
||||
IF(NOT WIN32)
|
||||
ADD_LIBRARY(nelgeorges SHARED ${SRC})
|
||||
CONFIGURE_FILE(nel-georges.pc.in nel-georges.pc)
|
||||
INSTALL(FILES nel-georges.pc DESTINATION lib/pkgconfig)
|
||||
ELSE(NOT WIN32)
|
||||
ADD_LIBRARY(nelgeorges STATIC ${SRC})
|
||||
ENDIF(NOT WIN32)
|
||||
|
|
12
code/nel/src/georges/nel-georges.pc.in
Normal file
12
code/nel/src/georges/nel-georges.pc.in
Normal file
|
@ -0,0 +1,12 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: nel-georges
|
||||
Version: @NL_VERSION@
|
||||
Description: NeL @NL_VERSION@
|
||||
Reqiures:
|
||||
Libs: -L${libdir}
|
||||
Libs.private: @LIBS@ -lc
|
||||
Cflags: -I${includedir}
|
|
@ -2,6 +2,8 @@ FILE(GLOB SRC *.cpp *.h)
|
|||
|
||||
IF(NOT WIN32)
|
||||
ADD_LIBRARY(nelligo SHARED ${SRC})
|
||||
CONFIGURE_FILE(nel-ligo.pc.in nel-ligo.pc)
|
||||
INSTALL(FILES nel-ligo.pc DESTINATION lib/pkgconfig)
|
||||
ELSE(NOT WIN32)
|
||||
ADD_LIBRARY(nelligo STATIC ${SRC})
|
||||
ENDIF(NOT WIN32)
|
||||
|
|
12
code/nel/src/ligo/nel-ligo.pc.in
Normal file
12
code/nel/src/ligo/nel-ligo.pc.in
Normal file
|
@ -0,0 +1,12 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: nel-ligo
|
||||
Version: @NL_VERSION@
|
||||
Description: NeL @NL_VERSION@
|
||||
Reqiures:
|
||||
Libs: -L${libdir}
|
||||
Libs.private: @LIBS@ -lc
|
||||
Cflags: -I${includedir}
|
|
@ -2,6 +2,8 @@ FILE(GLOB SRC *.cpp *.h config_file/*.cpp config_file/*.h)
|
|||
|
||||
IF(NOT WIN32)
|
||||
ADD_LIBRARY(nelmisc SHARED ${SRC})
|
||||
CONFIGURE_FILE(nel-misc.pc.in nel-misc.pc)
|
||||
INSTALL(FILES nel-misc.pc DESTINATION lib/pkgconfig)
|
||||
ELSE(NOT WIN32)
|
||||
ADD_LIBRARY(nelmisc STATIC ${SRC})
|
||||
ENDIF(NOT WIN32)
|
||||
|
|
|
@ -4,8 +4,8 @@ libdir=@libdir@
|
|||
includedir=@includedir@
|
||||
|
||||
Name: nel-misc
|
||||
Version: @VERSION@
|
||||
Description: NeL @VERSION@
|
||||
Version: @NL_VERSION@
|
||||
Description: NeL @NL_VERSION@
|
||||
Reqiures:
|
||||
Libs: -L${libdir}
|
||||
Libs.private: @LIBS@ -lc -lpthread -lrt -ldl
|
||||
|
|
|
@ -9,6 +9,8 @@ SET(NLNET_LIB ${LIBNAME})
|
|||
|
||||
IF(NOT WIN32)
|
||||
ADD_LIBRARY(nelnet SHARED ${SRC})
|
||||
CONFIGURE_FILE(nel-net.pc.in nel-net.pc)
|
||||
INSTALL(FILES nel-net.pc DESTINATION lib/pkgconfig)
|
||||
ELSE(NOT WIN32)
|
||||
ADD_LIBRARY(nelnet STATIC ${SRC})
|
||||
ENDIF(NOT WIN32)
|
||||
|
|
12
code/nel/src/net/nel-net.pc.in
Normal file
12
code/nel/src/net/nel-net.pc.in
Normal file
|
@ -0,0 +1,12 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: nel-net
|
||||
Version: @NL_VERSION@
|
||||
Description: NeL @NL_VERSION@
|
||||
Reqiures:
|
||||
Libs: -L${libdir}
|
||||
Libs.private: @LIBS@ -lc -lpthread -lrt -ldl
|
||||
Cflags: -I${includedir} -lc -lpthread -lrt -ldl
|
|
@ -2,6 +2,8 @@ FILE(GLOB SRC *.cpp *.h)
|
|||
|
||||
IF(NOT WIN32)
|
||||
ADD_LIBRARY(nelpacs SHARED ${SRC})
|
||||
CONFIGURE_FILE(nel-pacs.pc.in nel-pacs.pc)
|
||||
INSTALL(FILES nel-pacs.pc DESTINATION lib/pkgconfig)
|
||||
ELSE(NOT WIN32)
|
||||
ADD_LIBRARY(nelpacs STATIC ${SRC})
|
||||
ENDIF(NOT WIN32)
|
||||
|
|
12
code/nel/src/pacs/nel-pacs.pc.in
Normal file
12
code/nel/src/pacs/nel-pacs.pc.in
Normal file
|
@ -0,0 +1,12 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: nel-pacs
|
||||
Version: @NL_VERSION@
|
||||
Description: NeL @NL_VERSION@
|
||||
Reqiures:
|
||||
Libs: -L${libdir}
|
||||
Libs.private: @LIBS@ -lc -lpthread -lrt -ldl
|
||||
Cflags: -I${includedir} -lc -lpthread -lrt -ldl
|
|
@ -8,6 +8,8 @@ ENDIF(APPLE)
|
|||
|
||||
IF(NOT WIN32)
|
||||
ADD_LIBRARY(nelsound SHARED ${SRC})
|
||||
CONFIGURE_FILE(nel-sound.pc.in nel-sound.pc)
|
||||
INSTALL(FILES nel-sound.pc DESTINATION lib/pkgconfig)
|
||||
ELSE(NOT WIN32)
|
||||
ADD_LIBRARY(nelsound STATIC ${SRC})
|
||||
ENDIF(NOT WIN32)
|
||||
|
|
12
code/nel/src/sound/nel-sound.pc.in
Normal file
12
code/nel/src/sound/nel-sound.pc.in
Normal file
|
@ -0,0 +1,12 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: nel-sound
|
||||
Version: @NL_VERSION@
|
||||
Description: NeL @NL_VERSION@
|
||||
Reqiures:
|
||||
Libs: -L${libdir}
|
||||
Libs.private: @LIBS@ -lc -lpthread -lrt -ldl
|
||||
Cflags: -I${includedir} -lc -lpthread -lrt -ldl
|
Loading…
Reference in a new issue