Very basic stuff working on linux 32-bit with dmd and phobos2.
This commit is contained in:
parent
f23eee9828
commit
67f0225e42
152 changed files with 113 additions and 0 deletions
68
tests/FullSkeleton/programServer/CMakeLists.txt
Normal file
68
tests/FullSkeleton/programServer/CMakeLists.txt
Normal file
|
@ -0,0 +1,68 @@
|
|||
#################################
|
||||
|
||||
if (BUILD_SERVER)
|
||||
|
||||
#################################
|
||||
# Project
|
||||
##############
|
||||
|
||||
project(ProgramServer D)
|
||||
|
||||
#################################
|
||||
# Dependencies
|
||||
##############
|
||||
|
||||
#################################
|
||||
# Compiler Switches
|
||||
##############
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_SOURCE_DIR}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${CMAKE_BINARY_DIR}/libraryA
|
||||
${CMAKE_BINARY_DIR}/libraryB
|
||||
)
|
||||
|
||||
add_definitions(
|
||||
)
|
||||
|
||||
#################################
|
||||
# Source Files
|
||||
##############
|
||||
|
||||
add_executable(server
|
||||
ProgramServerMain.d
|
||||
)
|
||||
|
||||
#################################
|
||||
# Linking
|
||||
##############
|
||||
|
||||
target_link_libraries(server
|
||||
A
|
||||
B
|
||||
)
|
||||
|
||||
#################################
|
||||
# Install Files
|
||||
##############
|
||||
|
||||
file(GLOB sources "${CMAKE_CURRENT_SOURCE_DIR}/*.d")
|
||||
install(
|
||||
FILES
|
||||
${sources}
|
||||
DESTINATION
|
||||
include/FullSkeleton
|
||||
)
|
||||
|
||||
install(TARGETS server
|
||||
RUNTIME DESTINATION bin
|
||||
)
|
||||
|
||||
#################################
|
||||
|
||||
endif (BUILD_SERVER)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue