File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11/OBJ_ * /
2+ /build /
23* .xpl
34/* .zip
45version.h
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ if(WIN32)
9898 -l:libexpat.a
9999 pthread
100100 )
101- install (TARGETS openSAM DESTINATION "${CMAKE_CURRENT_SOURCE_DIR} /openSAM-pkg/openSAM/win_x64" )
101+ install (TARGETS openSAM RUNTIME DESTINATION "${CMAKE_CURRENT_SOURCE_DIR} /openSAM-pkg/openSAM/win_x64" )
102102
103103elseif (APPLE )
104104 # Makefile.mac64 (native macOS or osxcross)
@@ -122,7 +122,7 @@ elseif(APPLE)
122122 set (_expat expat) # ships with macOS / Homebrew / MacPorts natively
123123 endif ()
124124 target_link_libraries (openSAM PRIVATE ${XPLM_FW} ${XPWIDGETS_FW} ${_expat} )
125- install (TARGETS openSAM DESTINATION "${CMAKE_CURRENT_SOURCE_DIR} /openSAM-pkg/openSAM/mac_x64" )
125+ install (TARGETS openSAM LIBRARY DESTINATION "${CMAKE_CURRENT_SOURCE_DIR} /openSAM-pkg/openSAM/mac_x64" )
126126
127127elseif (UNIX )
128128 # Makefile.lin64
@@ -133,7 +133,7 @@ elseif(UNIX)
133133 )
134134 target_link_options (openSAM PRIVATE -rdynamic -nodefaultlibs )
135135 target_link_libraries (openSAM PRIVATE expat )
136- install (TARGETS openSAM DESTINATION "${CMAKE_CURRENT_SOURCE_DIR} /openSAM-pkg/openSAM/lin_x64" )
136+ install (TARGETS openSAM LIBRARY DESTINATION "${CMAKE_CURRENT_SOURCE_DIR} /openSAM-pkg/openSAM/lin_x64" )
137137endif ()
138138
139139# ==============================================================================
Original file line number Diff line number Diff line change 1+ # cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -S . -B build
2+ ninja -C build install
You can’t perform that action at this time.
0 commit comments