add_definitions(-D_AFXDLL)
set(CMAKE_MFC_FLAG 2)
set(_src_files
../CommInter/ProcessMutex.cpp
../CommInter/ProcessMutex.h
../CommInter/Thread.cpp
../CommInter/Thread.h
../ToolBox/OPini.cpp
../ToolBox/OPini.cpp
resource.h
stdafx.cpp
stdafx.h
targetver.h
TMServer.cpp
TMServer.h
TMServerDlg.cpp
TMServerDlg.h
)get
set(_tarName TMServer)
add_executable(${_tarName} WIN32 ${_src_files} TMServer.rc)
target_link_libraries(${_tarName}
ManageModule
StreamModule
)
#use_msvc_pch(${_tarName} stdafx.h stdafx.cpp)
it