[DiscordArchive] i think you need to use a different command because that's for including header files?
[DiscordArchive] i think you need to use a different command because that's for including header files?
Archived author: Anchy • Posted: 2022-08-25T03:52:26.644000+00:00
Original source
yeah wtf why does it work there
Archived author: Anchy • Posted: 2022-08-25T03:53:26.840000+00:00
Original source
maybe the way i was doing it was too late or too early in the process
Archived author: Anchy • Posted: 2022-08-25T03:55:45.431000+00:00
Original source
I just added this below the eluna loading:
```cmake
if (SOURCE_MODULE MATCHES "TestModule")
include_directories("C:/Program Files/Mono/include/mono-2.0")
endif()```
I'm assuming you did something similar
Archived author: Dav#1067 • Posted: 2022-08-25T04:59:26.952000+00:00
Original source
I went with
`foreach(SOURCE_MODULE ${MODULES_MODULE_LIST})
include("${CMAKE_SOURCE_DIR}/modules/${SOURCE_MODULE}/${SOURCE_MODULE}.cmake" OPTIONAL)
endforeach()`
Archived author: Dav#1067 • Posted: 2022-08-25T05:00:43.178000+00:00
Original source
which will allow any Module to add a cmake file in thier folder to shim something into the CMAke build
Archived author: Dav#1067 • Posted: 2022-08-25T05:01:14.620000+00:00
Original source
IF I get that PR'd Up that is
Archived author: Anchy • Posted: 2022-08-25T05:01:45.908000+00:00
Original source
ah okay that makes sense
Archived author: Anchy • Posted: 2022-08-25T05:02:24.047000+00:00
Original source
ill wait to see if it gets included
Archived author: Dav#1067 • Posted: 2022-08-25T05:27:11.159000+00:00
Original source
https://github.com/azerothcore/azerothco...pull/12846 We'll See. 3 Lines of Code to Show for nearly 12 hours of research... I hate CMAKE
[Embed: Minor CMake Update to Modules Cmake File to Allow Custom Modules to...]
Changes Proposed:
Enable module developers to include a cmake file into the CmakeList.txt of the Modules Project so they can update dependencies or perform other module specific tasks without alte...
https://github.com/azerothcore/azerothco...pull/12846
Archived author: Anchy • Posted: 2022-08-25T05:38:42.841000+00:00
Original source
haha