40 lines
844 B
CMake
40 lines
844 B
CMake
cmake_minimum_required(VERSION 3.16)
|
|
|
|
project(PlumbingCmd)
|
|
|
|
set(SOURCES
|
|
"command.cpp"
|
|
"CSWGXDlg.cpp"
|
|
"PlumbingCmd.cpp"
|
|
"StdAfx.cpp"
|
|
"smlobjdlg.cpp"
|
|
"ZJCJDlg.cpp"
|
|
"layoutextinguisher.cpp"
|
|
"hydrantcalcdlg.cpp"
|
|
"csxhdlg.cpp"
|
|
"cxshsizedlg.cpp"
|
|
"cpenlinsetdlg.cpp"
|
|
"chxptdlg.cpp"
|
|
"cjxptdlg.cpp"
|
|
"cryptdlg.cpp"
|
|
"czxptdlg.cpp"
|
|
"PlumbingCmd.rc"
|
|
# "PlumbingCmd.def"
|
|
)
|
|
add_def_file_name(SOURCES "PlumbingCmd")
|
|
|
|
add_library(PlumbingCmd SHARED ${SOURCES})
|
|
|
|
target_set_name_and_suffix(PlumbingCmd "PlumbingCmd" ".arx")
|
|
|
|
target_link_objectarx(PlumbingCmd PLUMBINGCMD_EXPORT)
|
|
|
|
target_link_libraries(PlumbingCmd PRIVATE
|
|
sqliteserver
|
|
AecRxBase
|
|
CoreCommand_BAL_REMOTE
|
|
)
|
|
|
|
target_precompile_headers(PlumbingCmd PRIVATE StdAfx.h)
|
|
|
|
set_debug_post_build(PlumbingCmd "PlumbingCmd" ".arx") |