Skip to content

Commit

Permalink
Create a single executable
Browse files Browse the repository at this point in the history
  • Loading branch information
o-sdn-o authored Dec 8, 2021
2 parents 5888d25 + 343acd1 commit 9b4750a
Show file tree
Hide file tree
Showing 4 changed files with 360 additions and 358 deletions.
11 changes: 6 additions & 5 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,13 @@ powershell ../src/install/install.ps1

---

# Command Line Options
# Command Line Options `vtm(.exe)`

Module | Options
---------------------|--------------------------------------
`vtm(.exe)` client | No arguments
`vtmd(.exe)` server | `[ -d ]` run in background
Option | Description
-------------|-------------------------------------------------------
No arguments | Run client (auto start server if is not started)
` -d ` | Run server in background
` -s ` | Run server in interactive mode

# User Interface

Expand Down
3 changes: 0 additions & 3 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
cmake_minimum_required (VERSION 3.8)

project ("vtmd")
project ("vtm")

OPTION(DEMO "Demo mode" OFF)
Expand Down Expand Up @@ -28,10 +27,8 @@ if (DEMO)
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DDEMO")
endif ()

add_executable (vtmd "vtmd.cpp")
add_executable (vtm "vtm.cpp")

if (NOT WIN32)
install (TARGETS vtmd DESTINATION bin)
install (TARGETS vtm DESTINATION bin)
endif ()
Loading

0 comments on commit 9b4750a

Please sign in to comment.