Erwin Saavedra Posted June 19, 2021 Posted June 19, 2021 hi guys, does anyone knows how to configure the project using cmake? thanks! Quote
Josh Posted June 20, 2021 Posted June 20, 2021 What is the purpose of using cmake if you already have a Visual Studio project? Quote My job is to make tools you love, with the features you want, and performance you can't live without.
Erwin Saavedra Posted June 20, 2021 Author Posted June 20, 2021 hi josh, i am trying to use clion Quote
Josh Posted June 20, 2021 Posted June 20, 2021 On Linux? Quote My job is to make tools you love, with the features you want, and performance you can't live without.
Josh Posted June 20, 2021 Posted June 20, 2021 Apparently CLion does work with the MSVC compiler, but you would have to manually create a cmake build script, which is extremely complicated. Quote My job is to make tools you love, with the features you want, and performance you can't live without.
Erwin Saavedra Posted June 20, 2021 Author Posted June 20, 2021 ohh ok i'll keep trying and report any findings, thanks! 1 Quote
reepblue Posted June 20, 2021 Posted June 20, 2021 If the goal is to just create a project, premake is another option and creates less garbage. Quote Cyclone - Ultra Game System - Component Preprocessor - Tex2TGA - Darkness Awaits Template (Leadwerks) If you like my work, consider supporting me on Patreon!
Erwin Saavedra Posted June 25, 2021 Author Posted June 25, 2021 hey guys, got it to work in CLion with this (debug): project(ultra00) include_directories("C:/Program Files/Ultra App Kit/Include") include_directories("C:/Program Files/Ultra App Kit/Include/Libraries/FreeType/include") include_directories("C:/Program Files/Ultra App Kit/Include/Libraries/sol3/include") set(CMAKE_CXX_STANDARD 17) add_executable(ultra00 ultra00.cpp) add_definitions(-MTd) add_compile_definitions(ultra00 _ULTRA_APPKIT) add_compile_definitions(ultra00 _DEBUG) target_link_libraries(ultra00 "C:/Program Files/Ultra App Kit/Libs/Win64/App Kit_d.lib") will keep you guys posted if i figure out something better! 1 1 Quote
reepblue Posted June 25, 2021 Posted June 25, 2021 Neat. I'm actually curious if a premake script can be made to generate projects across IDEs/Platforms. I also want to see if I can get a nice CodeLite setup on Linux as that's my go to IDE on that platform. Quote Cyclone - Ultra Game System - Component Preprocessor - Tex2TGA - Darkness Awaits Template (Leadwerks) If you like my work, consider supporting me on Patreon!
Josh Posted June 25, 2021 Posted June 25, 2021 2 hours ago, Erwin Saavedra said: include_directories("C:/Program Files/Ultra App Kit/Include/Libraries/FreeType/include") include_directories("C:/Program Files/Ultra App Kit/Include/Libraries/sol3/include") You don't need these two include directories. Quote My job is to make tools you love, with the features you want, and performance you can't live without.
aiaf Posted June 25, 2021 Posted June 25, 2021 @Erwin Saavedra just need to make it cross platform: IF(UNIX) ELSE (WIN32) ENDIF (UNIX) set(CMAKE_BUILD_TYPE Debug) @reepblue you have cmake generator CodeLite - Unix Makefiles For me im switched to Visual Code on linux, far better then anything else. Quote I made this with Leadwerks/UAK: Structura | Stacky Desktop Edition Website: Binary Station
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.