Skip to content

Instantly share code, notes, and snippets.

@HariSeldon
Created August 9, 2014 14:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HariSeldon/5f60a6bf6b28617593f2 to your computer and use it in GitHub Desktop.
Save HariSeldon/5f60a6bf6b28617593f2 to your computer and use it in GitHub Desktop.
pass directory CMakeLists.txt
add_library(Test MODULE Test.cpp)
set_target_properties(Test PROPERTIES COMPILE_FLAGS "-fno-rtti -fPIC")
target_link_libraries(Test ${REQ_LLVM_LIBS})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment