Raised This Month: $12 Target: $400
 3% 

[Help] How to compile with cmake


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
rtxa
Senior Member
Join Date: Mar 2018
Location: Argentina
Old 02-10-2023 , 14:06   Re: [Help] How to compile with cmake
Reply With Quote #2

If I'm not wrong, if you're gonna use CMake in your project, you can't use it lightly, you need to include every source file and create several CMakeLists.txt in hlsdk and amxx containing the files manually. I know is annoying to include every file but that's the way CMake works, it's a build script generator more than a build system.

There's something in CMake called globbing which can help you to point out a directory and include every file in it automatically, but it will give you problems when updating your CMake project in real-time and you need to rebuild the project from time to time.
__________________
rtxa is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:04.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode