From 5e75a9e8a706830341caf6d2f0516cc945dbf25a Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Sun, 13 Nov 2011 17:56:06 +0100 Subject: [PATCH] restructure --- CMakeLists.txt | 46 ++++++++++++++++++++++ doc => doc/README | 0 mars_dosutils.lsm => doc/mars_dosutils.lsm | 0 3 files changed, 46 insertions(+) create mode 100644 CMakeLists.txt rename doc => doc/README (100%) rename mars_dosutils.lsm => doc/mars_dosutils.lsm (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..d4696d8 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,46 @@ +################################# +# Project +############## + +################################# +# Dependencies +############## + +################################# +# 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( net logon.c ... ) + +################################# +# Linking +############## + +################################# +# Install Files +############## + +install(FILES net.exe DESTINATION ${MARS_NWE_INSTALL_FULL_FILEDIR}/SYS/) + diff --git a/doc b/doc/README similarity index 100% rename from doc rename to doc/README diff --git a/mars_dosutils.lsm b/doc/mars_dosutils.lsm similarity index 100% rename from mars_dosutils.lsm rename to doc/mars_dosutils.lsm