rename:变更程序名称。
This commit is contained in:
parent
dba16b321d
commit
d188fda8d9
@ -1,6 +1,6 @@
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
|
||||
project(RemoteTran LANGUAGES CXX)
|
||||
project(RelayFile VERSION 0.1.0 LANGUAGES CXX)
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
@ -21,4 +21,4 @@ add_subdirectory(ClientCore)
|
||||
add_subdirectory(Util)
|
||||
add_subdirectory(Protocol)
|
||||
add_subdirectory(UserInterface)
|
||||
add_subdirectory(RemoteServer)
|
||||
add_subdirectory(RelayServer)
|
17
RelayServer/CMakeLists.txt
Normal file
17
RelayServer/CMakeLists.txt
Normal file
@ -0,0 +1,17 @@
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
|
||||
project(RelayServer LANGUAGES CXX)
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
find_package(wxWidgets CONFIG REQUIRED)
|
||||
|
||||
set(MSOURCES
|
||||
RelayServer.h
|
||||
RelayServer.cxx
|
||||
main.cxx
|
||||
)
|
||||
|
||||
add_executable(RelayServer ${MSOURCES})
|
||||
target_link_libraries(RelayServer PRIVATE wx::base wx::core Util)
|
||||
set_target_properties(RelayServer PROPERTIES WIN32_EXECUTABLE TRUE)
|
@ -1,4 +1,4 @@
|
||||
#include "RemoteServer.h"
|
||||
#include "RelayServer.h"
|
||||
|
||||
RemoteServer::RemoteServer()
|
||||
{
|
14
RelayServer/main.cxx
Normal file
14
RelayServer/main.cxx
Normal file
@ -0,0 +1,14 @@
|
||||
#include "RelayServer.h"
|
||||
|
||||
class RelayServerApp : public wxApp
|
||||
{
|
||||
public:
|
||||
bool OnInit() override;
|
||||
};
|
||||
|
||||
bool RelayServerApp::OnInit()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
wxIMPLEMENT_APP(RelayServerApp);
|
@ -1,17 +0,0 @@
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
|
||||
project(RemoteServer LANGUAGES CXX)
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
find_package(wxWidgets CONFIG REQUIRED)
|
||||
|
||||
set(MSOURCES
|
||||
RemoteServer.h
|
||||
RemoteServer.cxx
|
||||
main.cxx
|
||||
)
|
||||
|
||||
add_executable(RemoteServer ${MSOURCES})
|
||||
target_link_libraries(RemoteServer PRIVATE wx::base wx::core Util)
|
||||
set_target_properties(RemoteServer PROPERTIES WIN32_EXECUTABLE TRUE)
|
@ -1,14 +0,0 @@
|
||||
#include "RemoteServer.h"
|
||||
|
||||
class RemoteServerApp : public wxApp
|
||||
{
|
||||
public:
|
||||
bool OnInit() override;
|
||||
};
|
||||
|
||||
bool RemoteServerApp::OnInit()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
wxIMPLEMENT_APP(RemoteServerApp);
|
Loading…
x
Reference in New Issue
Block a user