创建工程并增加了json支持

This commit is contained in:
zjk
2024-10-22 17:28:15 +08:00
parent 985b667200
commit dfd13848ef
20 changed files with 959 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
#--------------------------------------------------------
# The CMakeLists.txt for: pPowerManger
# Author(s):
#--------------------------------------------------------
# Set System Specific Libraries
if (${WIN32})
# Windows Libraries
SET(SYSTEM_LIBS
wsock32 )
else (${WIN32})
# Linux and Apple Libraries
SET(SYSTEM_LIBS
m
pthread )
endif (${WIN32})
SET(SRC
PowerManger.cpp
PowerManger_Info.cpp
main.cpp
)
ADD_EXECUTABLE(pPowerManger ${SRC})
TARGET_LINK_LIBRARIES(pPowerManger
${MOOS_LIBRARIES}
apputil
mbutil
m
pthread
${SYSTEM_LIBS})