File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -20,9 +20,13 @@ else()
2020endif ()
2121
2222set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR} /bin)
23+ SET (CMAKE_C_STANDARD_LIBRARIES "" )
24+ SET (CMAKE_C_STANDARD_LIBRARIES_INIT "" )
2325SET (CMAKE_CXX_STANDARD_LIBRARIES "" )
2426SET (CMAKE_CXX_STANDARD_LIBRARIES_INIT "" )
2527SET (CMAKE_BUILD_TYPE "Release" )
28+ set (CMAKE_C_IMPLICIT_LINK_LIBRARIES "" )
29+ set (CMAKE_C_IMPLICIT_LINK_DIRECTORIES "" )
2630set (CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "" )
2731set (CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "" )
2832set (INCLUDE_INSTALL_DIR ${CMAKE_INSTALL_INCLUDEDIR} /dinorunner
@@ -40,6 +44,8 @@ add_library(dinorunner_shared SHARED ${DINORUNNER_CORE_FILES})
4044add_library (dinorunner_static STATIC ${DINORUNNER_CORE_FILES} )
4145target_include_directories (dinorunner_shared PUBLIC $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR} /include >)
4246target_include_directories (dinorunner_static PUBLIC $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR} /include >)
47+ target_link_options (dinorunner_shared PUBLIC "-nostdlib" )
48+ target_link_options (dinorunner_static PUBLIC "-nostdlib" )
4349
4450set_target_properties (dinorunner_shared
4551 PROPERTIES OUTPUT_NAME dinorunner
You can’t perform that action at this time.
0 commit comments