added cmake files for client project
This commit is contained in:
parent
aea1d16e31
commit
6ac162f3cd
8 changed files with 431 additions and 3 deletions
20
client/3rd/SingleApplication/singleapplication.cmake
Normal file
20
client/3rd/SingleApplication/singleapplication.cmake
Normal file
|
@ -0,0 +1,20 @@
|
|||
include_directories(${CMAKE_CURRENT_LIST_DIR})
|
||||
message(${CMAKE_CURRENT_LIST_DIR})
|
||||
|
||||
set(HEADERS ${HEADERS}
|
||||
${CMAKE_CURRENT_LIST_DIR}/singleapplication.h
|
||||
${CMAKE_CURRENT_LIST_DIR}/singleapplication_p.h
|
||||
)
|
||||
|
||||
set(SOURCES ${SOURCES}
|
||||
${CMAKE_CURRENT_LIST_DIR}/singleapplication.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/singleapplication_p.cpp
|
||||
)
|
||||
|
||||
if(WIN32)
|
||||
if(MSVC)
|
||||
set(LIBS ${LIBS} Advapi32.lib)
|
||||
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
|
||||
set(LIBS ${LIBS} advapi32)
|
||||
endif()
|
||||
endif()
|
Loading…
Add table
Add a link
Reference in a new issue