[DiscordArchive] i think you need to use a different command because that's for including header files?
[DiscordArchive] i think you need to use a different command because that's for including header files?
Archived author: Anchy • Posted: 2022-08-25T01:33:51.865000+00:00
Original source
i think you need to use a different command because that's for including header files?
Archived author: Dav#1067 • Posted: 2022-08-25T01:35:27.662000+00:00
Original source
at this point Im 1000 commands in I've learned more about CMAKE then I ever want to do. Only a C++ coder could have thought this thing was a good Idea
Archived author: Anchy • Posted: 2022-08-25T01:35:44.720000+00:00
Original source
I think target_link_libraries
Archived author: Dav#1067 • Posted: 2022-08-25T01:35:56.056000+00:00
Original source
yet tried that
Archived author: Anchy • Posted: 2022-08-25T01:35:56.624000+00:00
Original source
haha, i think because it's still the C build system so its just overly complicated
Archived author: Anchy • Posted: 2022-08-25T01:36:37.757000+00:00
Original source
in c# I can add dependencies so easy
Archived author: Dav#1067 • Posted: 2022-08-25T01:36:44.090000+00:00
Original source
Heres my LAtest Addition of Poiontless text
find_path(
NETHOST_INCLUDE_DIR
NAMES nethost.h
PATHS ../.. C:/Program\ Files/dotnet/packs/Microsoft.NETCore.App.Host.win-x64/6.0.8/runtimes/win-x64/native
)
find_library(
NETHOST_LIBRARY
nethost
PATHS ../.. C:/Program\ Files/dotnet/packs/Microsoft.NETCore.App.Host.win-x64/6.0.8/runtimes/win-x64/native
)
message(STATUS "Include dir is: ${NETHOST_INCLUDE_DIR}")
message(STATUS "Found NETHOST_LIBRARY library: ${NETHOST_LIBRARY}")
if (NOT NETHOST_INCLUDE_DIR OR NOT NETHOST_LIBRARY)
message(FATAL_ERROR "** NETHOST_LIBRARY library not found!")
endif ()
add_library(nethost STATIC IMPORTED GLOBAL )
set_target_properties(nethost
PROPERTIES
IMPORTED_LOCATION
"${NETHOST_LIBRARY}"
INTERFACE_INCLUDE_DIRECTORIES
"${NETHOST_INCLUDE_DIR}")
Archived author: Anchy • Posted: 2022-08-25T01:37:11.179000+00:00
Original source
right, and im guessing all of that is passing
Archived author: Anchy • Posted: 2022-08-25T01:37:15.818000+00:00
Original source
and just not showing up in visual studio
Archived author: Dav#1067 • Posted: 2022-08-25T01:37:36.654000+00:00
Original source
Give that man a :cigar: