If options are enclosed in [] brackets, that usually indicates these are
optional. If you don't need them, you can omit them entirely, but if you
need them, you would need to add them but without the [] brackets.
So, if you do not want to build the debug version, then this would be
enough:
cmake ..
If you do want to build a debug version then it should be:
cmake .. -DCMAKE_BUILD_TYPE=Debug
Hope this helps.
Best regards,
Hugo
On Wed, 19 Aug 2020 at 10:19, <[email protected]> wrote:
> After I cd into the source directory, I follow the README.
> It says
>
> mkdir build
> cd build
> cmake .. [-DCMAKE_INSTALL_PREFIX=[PREFIX]]
> [-DCMAKE_BUILD_TYPE=Debug]
> make
> make install
>
>
> Executing
>
> $] cmake .. [-DCMAKE_INSTALL_PREFIX=[PREFIX]] [-DCMAKE_BUILD_TYPE=Debug]
>
> Iget:
>
> # cmake .. [-DCMAKE_INSTALL_PREFIX=[PREFIX]] [-DCMAKE_BUILD_TYPE=Debug]
> CMake Error: The source directory
> "/home/redacted/Downloads/rosegarden/rosegarden-20.06/build/[-DCMAKE_BUILD_TYPE=Debug]"
>
> does not exist.
> Specify --help for usage, or press the help button on the CMake GUI.
>
> As I hardly use cmake I wouldnt know what is up with this.
> What is the reason for the failure.
> I did exactly what the Readme tells me.
>
>
> _______________________________________________
> Rosegarden-user mailing list
> [email protected] - use the link below to unsubscribe
> https://lists.sourceforge.net/lists/listinfo/rosegarden-user
>
_______________________________________________
Rosegarden-user mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user