Jump to content

cmake - ultra app kit


Erwin Saavedra
 Share

Recommended Posts

Apparently CLion does work with the MSVC compiler, but you would have to manually create a cmake build script, which is extremely complicated.

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

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!

 

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

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. 

Cyclone - Ultra Game System - Component PreprocessorTex2TGA - Darkness Awaits Template (Leadwerks)

If you like my work, consider supporting me on Patreon!

Link to comment
Share on other sites

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.

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

@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.

 

I made this with Leadwerks/UAK:

Structura Stacky Desktop Edition

Website:

Binary Station

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...