cmake_minimum_required (VERSION 2.6)

project (OpenSofa)
set(TARGET_LIBRARY_NAME ${PROJECT_NAME})
set (CMAKE_CXX_STANDARD 11)

# source files
include_directories("include/")
set(PROJECT_SRC
	"src/client.cpp"
	"src/tcpserver.cpp")

# library
add_library(${TARGET_LIBRARY_NAME} ${PROJECT_SRC})

# test programs
#add_executable(TCPClientTest tcp_client_test.cpp)
#target_link_libraries(TCPClientTest ${PROJECT_LIBRARY_NAME})

#add_executable(TCPServerTest tcp_server_test.cpp)
#target_link_libraries(TCPServerTest ${PROJECT_LIBRARY_NAME})

cmake_minimum_required (VERSION 2.6)

project (OpenSofa)
set(TARGET_LIBRARY_NAME opensofa)
set (CMAKE_CXX_STANDARD 11)

# source files
include_directories("include/")
set(PROJECT_SRC
	"src/client.cpp"
	"src/tcpserver.cpp")

# library
add_library(${TARGET_LIBRARY_NAME} ${PROJECT_SRC})

# test programs
#add_executable(TCPClientTest tcp_client_test.cpp)
#target_link_libraries(TCPClientTest ${PROJECT_LIBRARY_NAME})

#add_executable(TCPServerTest tcp_server_test.cpp)
#target_link_libraries(TCPServerTest ${PROJECT_LIBRARY_NAME})

Use lowercase for library name
Use lowercase for library name
