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