Skip to content

Commit

Permalink
[mod] enable set thread names
Browse files Browse the repository at this point in the history
  • Loading branch information
tsymiar committed Dec 31, 2023
1 parent 68792db commit dc5fc02
Show file tree
Hide file tree
Showing 7 changed files with 235 additions and 162 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@

<font size=4>**S**</font>hare <font size=4>**c**</font>ommand <font size=4>**a**</font>nd <font size=4>**d**</font>ata <font size=4>**u**</font>nder _`scadup`_ <font size=4>**p**</font>roxy

Detail description to this project click: [[_<font size=5>+</font>_](https://www.github.com/tsymiar/scadup/tree/main/doc%2Freadme.md)]
Detail description to this project is [_<font size=3>here</font>_](https://www.github.com/tsymiar/scadup/tree/main/doc%2Freadme.md)
8 changes: 2 additions & 6 deletions src/scadup/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
cmake_minimum_required(VERSION 2.8...3.16)

set(TARGET scadup)
project(${TARGET} C CXX)

if (NOT WIN32)
set(OPTION "-fPIC -g -ggdb")
if (NOT "${ANDROID}" EQUAL "1")
Expand All @@ -14,8 +12,8 @@ set(CMAKE_CXX_FLAGS_RELEASE "$ENV{CXXFLAGS} -O3 -Wall")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -ftest-coverage -fprofile-arcs")
#add_definitions(-D_NONE_BLOCK)
add_definitions(${OPTION})

if (NOT WIN32)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated -Wno-format")
endif()
Expand All @@ -29,10 +27,8 @@ else()
include_directories(..)
endif()

#add_definitions(-D_NONE_BLOCK)

file(GLOB SRC_FILE_LIST "../**/*[^test]*.*[^.txt]*")

project(${TARGET} C CXX)
add_library(${TARGET} SHARED ${SRC_FILE_LIST})
#add_library(${TARGET} STATIC ${SRC_FILE_LIST})

Expand Down
Loading

0 comments on commit dc5fc02

Please sign in to comment.