Add FullSkeleton example
This commit is contained in:
parent
51095a9d7d
commit
c315c3f0d3
75 changed files with 4452 additions and 0 deletions
71
samples/FullSkeleton/programClient/CMakeLists.txt
Normal file
71
samples/FullSkeleton/programClient/CMakeLists.txt
Normal file
|
@ -0,0 +1,71 @@
|
|||
#################################
|
||||
|
||||
if (BUILD_CLIENT)
|
||||
|
||||
#################################
|
||||
# Project
|
||||
##############
|
||||
|
||||
project(ProgramClient D)
|
||||
|
||||
#################################
|
||||
# Dependencies
|
||||
##############
|
||||
|
||||
#################################
|
||||
# Compiler Switches
|
||||
##############
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_SOURCE_DIR}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${CMAKE_BINARY_DIR}/libraryA
|
||||
${CMAKE_BINARY_DIR}/libraryB
|
||||
)
|
||||
|
||||
add_definitions(
|
||||
${RENDERER_DEFINITIONS}
|
||||
)
|
||||
|
||||
#################################
|
||||
# Source Files
|
||||
##############
|
||||
|
||||
add_executable(client
|
||||
ProgramClient.d
|
||||
ProgramClientApp.d
|
||||
ProgramClientMain.d
|
||||
)
|
||||
|
||||
#################################
|
||||
# Linking
|
||||
##############
|
||||
|
||||
target_link_libraries(client
|
||||
A
|
||||
B
|
||||
)
|
||||
|
||||
#################################
|
||||
# Install Files
|
||||
##############
|
||||
|
||||
file(GLOB sources "${CMAKE_CURRENT_SOURCE_DIR}/*.d")
|
||||
install(
|
||||
FILES
|
||||
${sources}
|
||||
DESTINATION
|
||||
include/FullSkeleton
|
||||
)
|
||||
|
||||
install(TARGETS client
|
||||
RUNTIME DESTINATION bin
|
||||
)
|
||||
|
||||
#################################
|
||||
|
||||
endif (BUILD_CLIENT)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue