2015-01-05 19:30:17 +00:00
|
|
|
cmake_minimum_required (VERSION 2.6)
|
|
|
|
project (otshell CXX)
|
|
|
|
|
|
|
|
# Add executable
|
|
|
|
|
2016-12-23 07:54:34 +00:00
|
|
|
if(APPLE AND POLICY CMP0042)
|
|
|
|
cmake_policy(SET CMP0042 NEW)
|
|
|
|
endif()
|
|
|
|
|
2015-01-05 19:30:17 +00:00
|
|
|
file(GLOB otshell_utils_sources # All files in directory:
|
|
|
|
"*.h"
|
|
|
|
"*.hpp"
|
|
|
|
"*.cpp"
|
|
|
|
)
|
|
|
|
|
2016-09-17 18:03:51 +00:00
|
|
|
add_library (otshell_utils ${otshell_utils_sources})
|
2015-01-05 19:30:17 +00:00
|
|
|
set_target_properties (otshell_utils PROPERTIES OUTPUT_NAME "otshell_utils")
|
|
|
|
#target_link_libraries (upnpc-static ${LDLIBS}) # to add used libs
|