Comments (3)
- instead of having a header file with the 4 defines, the defines could be added using cmake's add_definitions (or the newer alternatives)
This is not a solution because definitions won't be written in headers so they won't be there when a program includes them after building and installing.
- A folder in the output directory could be setup and added to the includes, then the configure_file command could place the output there
This is typical for a CMake build but libdatachannel also supports alternative build systems (Makefile and Jamfile), which would be broken due to the missing header.
Generating the version.h header was added by @Sean-Der in #1112 only to synchronize the CMake version and the version in header:
Line 263 in fb7444d
It is only necessary for the workflow checking the version in check-version.yml.
I think a simple way to fix your issue is to introduce a CMake option, let's say RTC_UPDATE_VERSION_HEADER
, defaulting to OFF
, and condition the version file configuration with it. It would be enabled in check-version.yml with -DRTC_UPDATE_VERSION_HEADER=1
. What do you think?
from libdatachannel.
yeah that would also work for me, sure
from libdatachannel.
@paullouisageneau I submitted #1231
from libdatachannel.
Related Issues (20)
- Problem with H264RtpPacketizer HOT 5
- Update the remote description after SDP negotiation? HOT 6
- CMake script does not install STATIC library and static dependencies HOT 2
- Sending on Multiple Tracks HOT 3
- Websocket::Open crash HOT 3
- Error in build node-datachannel for webtorrent-cli HOT 2
- ABI issue when linking HOT 2
- RtpPacketizationConfig not properly initialized HOT 2
- setLocalDescription's Init parameter may not work. HOT 3
- The push function of the sendQueue in DataChannel will trigger wait and can not be awaked. HOT 3
- Client xxx not found HOT 2
- WebSocket::path() returns nullopt when state is Connecting HOT 2
- Mixed up dynamic and static libjuice dependencies HOT 1
- C API lacking proper closure support HOT 4
- Lost connectivity after successful connection HOT 7
- WebSocketServer not stopping properly HOT 2
- How to troubleshoot when the onGatheringStateChange function returns very slowly? HOT 1
- Websocket disconnect HOT 2
- Trouble connecting via TURN server HOT 1
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 libdatachannel.