Hey @miconda,
These files are generated from other files and do not exist in the source tree, when
configuring. They are produced during the build step and therefore I needed to find a way
to list them at sources so they don't produce the errors above.
If you search `CMakeLists.txt`, you can see the `custom_commands` that generate them and
`CMake` knows not to error if not found because they are `OUTPUT` of these commands and
instead built them.
I haven't seen these warning before.
```
- warnings shown before:
Warning: Source file ".../src/core/lex.yy.c" is listed multiple times for target
"kamailio".
Warning: Source file ".../src/core/cfg.tab.c" is listed multiple times for
target "kamailio"
```
Did you make any change before that might included this? There is only one place that
list this source files as source and its here
```
target_sources(
kamailio
PRIVATE ${kamailio_SRC_FILES} ${CMAKE_CURRENT_BINARY_DIR}/core/lex.yy.c
${CMAKE_CURRENT_BINARY_DIR}/core/cfg.tab.c
)
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/commit/da629accb2c2095e3255f4aa3389a0a…
You are receiving this because you are subscribed to this thread.
Message ID:
<kamailio/kamailio/commit/da629accb2c2095e3255f4aa3389a0af02272980/150486656(a)github.com>