Page 1 of 1

CMake support

Posted: 25 Apr 2019, 20:48
by milerias
Hello I would like to use NoesisGUI for my mmorpg.

I use CMake currently and SFML,

I saw that for the moment there was no SFML backend :/
I tried to inspire me of the GLUT example, but in the SDK there are Makefiles, and other build support, while I am looking for a global solution with CMake.
I wonder if a support of a library like SFML is in your roadmap and if a global support through a modern CMake is planned.

Re: CMake support

Posted: 26 Apr 2019, 23:17
by jsantos
Hi! We use internally a tool for automatically generating projects for all platforms. The tool does many more things so we don't have plans to change it for now.

But we will be happy to accept pull requests for the projects we have in Github.

Regarding SFML, we have clients using it with Noesis but for now we don't plan to support official bindings. Same as before, if you decide to implement them we are happy to help.

Thanks!

Re: CMake support

Posted: 06 May 2019, 02:01
by direstrepobr
this my example, but no find NoesisApp :
cmake_minimum_required(VERSION 3.5)
project(pruebaxaml)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")

set(SOURCE_FILES main.cpp)
add_executable(pruebaxaml ${SOURCE_FILES})


INCLUDE_DIRECTORIES(/Users/themakers/Documents/developC/NoesisGUI-NativeSDK-2.2.2/Include)

LINK_DIRECTORIES(/Users/themakers/Documents/developC/NoesisGUI-NativeSDK-2.2.2/Bin/osx)

file(GLOB LIBRARIES "/Users/themakers/Documents/developC/NoesisGUI-NativeSDK-2.2.2/Bin/osx/*.dylib")
message("LIBRARIES = ${LIBRARIES}")

TARGET_LINK_LIBRARIES(pruebaxaml ${LIBRARIES})