audacia/cmake-proxies/lv2
Carlo Bramini 3a91981c86
[CMAKE] LV2: Fix conflict with main() (#468)
After compiling Audacity with MinGW, a strange message appeared on the console after the executable was launched:

# ./Audacity.exe
Usage: C:\msys64\home\Carlo\a\bin\Audacity.exe [OPTION]... INPUT...
Validate RDF data

  -h  Display this help and exit
  -l  Print errors on a single line.
  -v  Display version information and exit
Validate RDF data.  This is a simple validator which checks
that all used properties are actually defined.  It does not do
any fancy file retrieval, the files passed on the command line
are the only data that is read.  In other words, you must pass
the definition of all vocabularies used on the command line.

The problem happens because the file lv2/sord/src/sord_validate.c contains a main() function that was called by crt startup code instead of the one in the main sources of Audacity. The solution is to not include this unneeded file.
2020-03-24 22:58:28 -05:00
..
CMakeLists.txt [CMAKE] LV2: Fix conflict with main() (#468) 2020-03-24 22:58:28 -05:00
lilv_config.h.in Updates the cmake build system 2020-02-03 00:39:43 -06:00
serd_config.h.in Updates the cmake build system 2020-02-03 00:39:43 -06:00
sord_config.h.in Updates the cmake build system 2020-02-03 00:39:43 -06:00
sratom_config.h.in Updates the cmake build system 2020-02-03 00:39:43 -06:00
suil_config.h.in Updates the cmake build system 2020-02-03 00:39:43 -06:00