add submodules for dosutils and mail

This commit is contained in:
Mario Fetka
2011-11-13 18:08:30 +01:00
parent 0fbc9baf41
commit 8c91f2fc10
6 changed files with 62 additions and 9 deletions

51
sys/CMakeLists.txt Normal file
View File

@@ -0,0 +1,51 @@
#################################
# Project
##############
#################################
# Dependencies
##############
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/net$log.dat.cmake"
"${CMAKE_CURRENT_BINARY_DIR}/net$log.dat"
IMMEDIATE @ONLY)
#################################
# Compiler Switches
##############
INCLUDE_DIRECTORIES(
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_SOURCE_DIR}/include
${CMAKE_BINARY_DIR}/include
)
if (CMAKE_SYSTEM_NAME MATCHES Linux)
add_definitions(
-DLINUX -D_GNU_SOURCE -Dsignal=__sysv_signal
)
endif (CMAKE_SYSTEM_NAME MATCHES Linux)
add_definitions(
-D_VERS_H_=\"${VERSION_MAJOR}\"
-D_VERS_L_=\"${VERSION_MINOR}\"
-D_VERS_P_=\"${VERSION_PATCH}\"
)
#################################
# Source Files
##############
#add_executable( comm comm.c )
#################################
# Linking
##############
#################################
# Install Files
##############
install(FILES net$log.dat comm.exe comm32.exe DESTINATION ${MARS_NWE_INSTALL_FULL_FILEDIR}/SYS/)