NoesisGUI with C++ and CMake
Posted: 19 Jan 2020, 18:01
So I've tried different ways to include NoesisGUI with CMake, and I haven't been able to do it. Can someone show their working CMakeLists or tell me the steps to make it work?
Welcome to our official discussion site. You’ll find topics on features, bugs, development, and general support here
https://www.noesisengine.com/forums/
add_library(noesis STATIC IMPORTED)
set_target_properties(noesis
PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES $ENV{BASIS_LIB2015_X64_PATH}/NoesisGUI-NativeSDK-2.2.4/Include
IMPORTED_LOCATION_DEBUG $ENV{BASIS_LIB2015_X64_PATH}/NoesisGUI-NativeSDK-2.2.4/Lib/windows_x86_64/Noesis.lib
IMPORTED_LOCATION_RELEASE $ENV{BASIS_LIB2015_X64_PATH}/NoesisGUI-NativeSDK-2.2.4/Lib/windows_x86_64/Noesis.lib
IMPORTED_LOCATION_FINAL $ENV{BASIS_LIB2015_X64_PATH}/NoesisGUI-NativeSDK-2.2.4/Lib/windows_x86_64/Noesis.lib
)