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