mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-17 13:01:41 +00:00
Fixed: Display of .h files in generated projects
This commit is contained in:
parent
96dcb1a6da
commit
b8c45ca587
10 changed files with 25 additions and 17 deletions
|
@ -1,4 +1,5 @@
|
|||
FILE(GLOB SRC *.cpp *.h ../../include/nel/3d/*.h)
|
||||
FILE(GLOB SRC *.cpp *.h)
|
||||
FILE(GLOB HEADERS ../../include/nel/3d/*.h)
|
||||
|
||||
SOURCE_GROUP(Traversals FILES
|
||||
anim_detail_trav.cpp
|
||||
|
@ -662,7 +663,7 @@ SOURCE_GROUP(Shadows FILES
|
|||
shadow_poly_receiver.cpp
|
||||
../../include/nel/3d/shadow_poly_receiver.h)
|
||||
|
||||
NL_TARGET_LIB(nel3d ${SRC})
|
||||
NL_TARGET_LIB(nel3d ${HEADERS} ${SRC})
|
||||
|
||||
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${FREETYPE_INCLUDE_DIRS})
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
FILE(GLOB SRC *.cpp ../../include/nel/cegui/*.h)
|
||||
FILE(GLOB SRC *.cpp *.h)
|
||||
FILE(GLOB HEADERS ../../include/nel/cegui/*.h)
|
||||
|
||||
ADD_LIBRARY(nelceguirenderer SHARED ${SRC} nelceguirenderer.def)
|
||||
ADD_LIBRARY(nelceguirenderer SHARED ${HEADERS} ${SRC} nelceguirenderer.def)
|
||||
|
||||
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${FREETYPE_INC} ${CEGUI_INCLUDE_DIRS})
|
||||
TARGET_LINK_LIBRARIES(nelceguirenderer nelmisc nel3d ${CEGUI_LIBRARY})
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
FILE(GLOB SRC *.cpp)
|
||||
FILE(GLOB PRIV_H *.h)
|
||||
FILE(GLOB PUB_H ../../include/nel/georges/*.h)
|
||||
FILE(GLOB SRC *.cpp *.h)
|
||||
FILE(GLOB HEADERS ../../include/nel/georges/*.h)
|
||||
|
||||
SOURCE_GROUP(headers FILES ${PRIV_H} ${PUB_H})
|
||||
# SOURCE_GROUP(headers FILES ${HEADERS})
|
||||
|
||||
NL_TARGET_LIB(nelgeorges ${SRC})
|
||||
NL_TARGET_LIB(nelgeorges ${HEADERS} ${SRC})
|
||||
|
||||
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
FILE(GLOB SRC *.cpp *.h)
|
||||
FILE(GLOB HEADERS ../../include/nel/ligo/*.h)
|
||||
|
||||
NL_TARGET_LIB(nelligo ${SRC})
|
||||
NL_TARGET_LIB(nelligo ${HEADERS} ${SRC})
|
||||
|
||||
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
FILE(GLOB SRC *.cpp *.h)
|
||||
FILE(GLOB HEADERS ../../include/nel/logic/*.h)
|
||||
|
||||
NL_TARGET_LIB(nellogic ${SRC})
|
||||
NL_TARGET_LIB(nellogic ${HEADERS} ${SRC})
|
||||
|
||||
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
FILE(GLOB SRC *.cpp *.h config_file/*.cpp config_file/*.h)
|
||||
FILE(GLOB HEADERS ../../include/nel/misc/*.h)
|
||||
|
||||
NL_TARGET_LIB(nelmisc ${SRC})
|
||||
NL_TARGET_LIB(nelmisc ${HEADERS} ${SRC})
|
||||
|
||||
IF(WITH_GTK)
|
||||
IF(GTK2_FOUND)
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
FILE(GLOB SRC "*.cpp")
|
||||
FILE(GLOB SRC *.cpp *.h)
|
||||
FILE(GLOB HEADERS ../../include/nel/net/*.h)
|
||||
FILE(GLOB NET_MANAGER "net_manager.*")
|
||||
LIST(REMOVE_ITEM SRC ${NET_MANAGER})
|
||||
|
||||
NL_TARGET_LIB(nelnet ${SRC})
|
||||
NL_TARGET_LIB(nelnet ${HEADERS} ${SRC})
|
||||
|
||||
IF(WITH_GTK)
|
||||
IF(GTK2_FOUND)
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
FILE(GLOB SRC *.cpp *.h)
|
||||
FILE(GLOB HEADERS ../../include/nel/pacs/*.h)
|
||||
|
||||
NL_TARGET_LIB(nelpacs ${SRC})
|
||||
NL_TARGET_LIB(nelpacs ${HEADERS} ${SRC})
|
||||
|
||||
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
FILE(GLOB SRC *.cpp *.h)
|
||||
FILE(GLOB HEADERS ../../include/nel/sound/*.h)
|
||||
|
||||
NL_TARGET_LIB(nelsound ${SRC})
|
||||
NL_TARGET_LIB(nelsound ${HEADERS} ${SRC})
|
||||
|
||||
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
FILE(GLOB SRC *.cpp *.h)
|
||||
FILE(GLOB HEADERS ../../../include/nel/sound/driver/*.h)
|
||||
|
||||
NL_TARGET_LIB(nelsnd_lowlevel ${SRC})
|
||||
NL_TARGET_LIB(nelsnd_lowlevel ${HEADERS} ${SRC})
|
||||
|
||||
IF(WITH_STATIC)
|
||||
# Add libogg dependency only if target is static because to libvorbisfile
|
||||
|
|
Loading…
Reference in a new issue