[DiscordArchive] Any documentation out there on cmake vs compile?
[DiscordArchive] Any documentation out there on cmake vs compile?
Archived author: Nadroj • Posted: 2024-06-30T01:44:14.062000+00:00
Original source
Yes, it also talks about it here. https://www.azerothcore.org/wiki/installing-a-module
[Embed: Installing a Module]
Wiki and Documentation of the AzerothCore project
https://www.azerothcore.org/wiki/installing-a-module
Archived author: Nadroj • Posted: 2024-06-30T01:44:23.200000+00:00
Original source
I have cmake, that is not the issue.
![[Image: image.png?ex=690bfda0&is=690aac20&hm=c9e...5757ff07d&]](https://cdn.discordapp.com/attachments/1255602330431127753/1256787561792147476/image.png?ex=690bfda0&is=690aac20&hm=c9ed4c1bea907ae2e00fccbf433cbe97271634042d76711c26766225757ff07d&)
Archived author: Nadroj • Posted: 2024-06-30T01:45:04.790000+00:00
Original source
I type cmake and it just spits this out at me.
![[Image: image.png?ex=690bfda0&is=690aac20&hm=c9e...5757ff07d&]](https://cdn.discordapp.com/attachments/1255602330431127753/1256787561792147476/image.png?ex=690bfda0&is=690aac20&hm=c9ed4c1bea907ae2e00fccbf433cbe97271634042d76711c26766225757ff07d&)
Archived author: Nyeriah • Posted: 2024-06-30T01:46:52.777000+00:00
Original source
you just run the command specified in the wiki
Archived author: Nyeriah • Posted: 2024-06-30T01:46:57.626000+00:00
Original source
module or not
Archived author: Nadroj • Posted: 2024-06-30T01:47:06.599000+00:00
Original source
is this what I want to type everytime install a module?
cmake ../ -DCMAKE_INSTALL_PREFIX=$HOME/azeroth-server/ -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DWITH_WARNINGS=1 -DTOOLS_BUILD=all -DSCRIPTS=static -DMODULES=static
Archived author: Nyeriah • Posted: 2024-06-30T01:47:14.464000+00:00
Original source
yes
Archived author: Nadroj • Posted: 2024-06-30T01:47:47.567000+00:00
Original source
Ah, ok. Then i would have to compile after that, or is that the same thing?
Archived author: Nyeriah • Posted: 2024-06-30T01:47:56.171000+00:00
Original source
compile after that, yes
Archived author: Nadroj • Posted: 2024-06-30T01:48:26.331000+00:00
Original source
If you could endulge me one step further, why do I cmake before compiling?