diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..2ea3656 --- /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 marsmail.exe pmail.bat pmgate.sys ohlogscr.bat pmdflts.ini DESTINATION ${MARS_NWE_INSTALL_FULL_FILEDIR}/SYS/) + diff --git a/marsmail.doc b/doc/marsmail.doc similarity index 100% rename from marsmail.doc rename to doc/marsmail.doc diff --git a/ohform.htm b/doc/ohform.htm similarity index 100% rename from ohform.htm rename to doc/ohform.htm diff --git a/wwwhomepage b/doc/wwwhomepage similarity index 100% rename from wwwhomepage rename to doc/wwwhomepage