Displaying 4 results from an estimated 4 matches for "dbuild_programs".
Did you mean:
build_programs
2019 Apr 14
1
Opus cmake build
...run all 14 of the tests that are run using the
autotools "make check"? I wouldn't expect fewer tests to be run when
shared libraries are built; the autotools build runs all tests
regardless of whether a shared library, static library, or both are built.
> For programs use:
> -DBUILD_PROGRAMS=ON
I tried the option -DBUILD_PROGRAMS=ON that you mentioned, but it still
said that BUILD_PROGRAMS was disabled:
-- The following features have been disabled:
* USE_ALLOCA, Use alloca for stack arrays (on non-C99 compilers)
* CUSTOM_MODES, Enable non-Opus modes, e.g. 44.1 kHz & 2^n...
2019 Apr 11
2
Opus cmake build
On Wed, Apr 10, 2019 at 5:30 PM Marcus Asteborg <xnorpx at outlook.com> wrote:
> Hi Mark,
>
> Thanks for the feedback.
>
> By default CMake is building the static library in debug, to get other
> things one has to explicit turn it on.
>
>
Hi,
By default CMake uses the "empty" build, which is used in combination with
the environment variables CFLAGS and
2019 Apr 10
0
Opus cmake build
...ed libraries if on.. If present and true, this will cause all libraries to be built shared unless the library was explicitly added as a static library.
cmake.org
To build tests use the following flags:
-DBUILD_TESTING=ON
Then you can use: ctest -j 4 to run the test in parallel
For programs use:
-DBUILD_PROGRAMS=ON
For the missing build flags this is great feedback and I will to fix those:
Add:
-DENABLE_HARDENING,
-D_FORTIFY_SOURCE=2
Add option:
-fstack-protector-strong (on compilers where it is supported, unless
disabled with --disable-stack-protector).
-DCUSTOM_MODES
Please let me know if there is mo...
2019 Apr 10
2
Opus cmake build
I tried the new cmake-based build system to build Opus on Linux and
macOS. I'm not familiar with cmake but based on instructions I found
online I used it as follows:
- mkdir build
- cd build
- cmake -DCMAKE_INSTALL_PREFIX:PATH=<install-path> ..
- make
- ctest
- make install
Although the "make" command completed, it reported that optimizations
were disabled: