Mercurial > pub > dyncall > dyncall
view test/CMakeLists.txt @ 166:d5705f226298
- added portasm support for adding .section .note.GNU-stack "hints" marking generated .o files from assembly files as not needing an executable stack
* needed to be done manually in assembly files, in contrast to C translation units where gcc adds such hints automatically
* this is for security, and better/easier integration of dyncall into other projects and builds, as dyncall doesn't need an executable stack
* thanks to Thorsten Behrens for bringing this up to our intention and providing a first analysis
* currently only done on Linux, but will be added across other platforms (where applicable) after some testing
author | cslag |
---|---|
date | Thu, 05 Jan 2017 11:07:29 +0100 |
parents | c12120a1fbc0 |
children | 0592eb360af2 |
line wrap: on
line source
include_directories( ${PROJECT_SOURCE_DIR}/dynload ${PROJECT_SOURCE_DIR}/dyncall ${PROJECT_SOURCE_DIR}/dyncallback ) if (CMAKE_CXX_COMPILER_WORKS) add_subdirectory(plain_c++) add_subdirectory(suite2) add_subdirectory(suite3) add_subdirectory(suite_floats) add_subdirectory(ellipsis) endif () add_subdirectory(call_suite) add_subdirectory(callback_suite) add_subdirectory(plain) add_subdirectory(suite) add_subdirectory(callf) add_subdirectory(nm) add_subdirectory(resolve_self) add_subdirectory(thunk) add_subdirectory(malloc_wx) add_subdirectory(callback_plain) add_subdirectory(sharedlib) if("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86" AND CMAKE_CXX_COMPILER_WORKS) add_subdirectory(suite_x86win32fast) add_subdirectory(suite_x86win32std) add_subdirectory(suite2_x86win32fast) add_subdirectory(suite2_x86win32std) endif() if(${UNIX}) add_subdirectory(syscall) endif()