Comments (7)
I should've written "closes" I guess :)
from sc.
I should've written "closes" I guess :)
Yes or you could set Linked pull requests
in the menu on the right 🤖
from sc.
If I change these lines
if (NOT CMAKE_C_COMPILER_ID MATCHES "MSVC")
To this:
if (NOT CMAKE_C_COMPILER_ID MATCHES "MSVC" AND SC_BUILD_TEST)
I can disable this behavior from my build, but this is a good solution?
from sc.
We shouldn't build tests in release mode because libs won't be testable thoroughly without some tricks compiler provides in debug mode. e.g testing return value of malloc, system calls etc.
How about something like this : https://github.com/tezc/sc/pull/45/files.
Here we build tests only on Debug build.
I didn't expect anybody use my messy cmakefiles, all started from it, sorry about that :)
We have some tests for release mode actually that we use in our projects but I need to clean them up and then merge to this repo. It may take some time though.
from sc.
Thanks for the super-duper fast response and sorry for not making the intended use of your repo! 😬
Is looking good, just made a comment about a still going warning on sc_thread.c
, besides that, is looking good!
from sc.
Mind making a new release?
from sc.
Done : https://github.com/tezc/sc/releases/tag/v1.0.1
from sc.
Related Issues (15)
- A little problem about hashmap HOT 2
- question: why pass by reference in `sc_str_substring((char** str, uint32_t start, uint32_t end)`? HOT 6
- test
- Using this lib over FetchContent HOT 5
- sc_str_append_fmt is trimming whitespaces at the end of the formated strings HOT 3
- Add shrink option to sc_buf
- [error]“afunix.h”: No such file or directory sc_socket_test HOT 2
- What does this function? HOT 17
- EPOLLET in non-blocking sc_sock HOT 10
- Any plans on implementing AVL tree? HOT 5
- sc_array.h: error: implicit declaration of function 'memmove' HOT 3
- #if defined(_WIN32) || defined(_WIN64) is not enough to check for MSVC HOT 7
- sc_sock: WSAPoll is broken HOT 2
- sc_sock thread-safety HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sc.