Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cmake_minimum_required(VERSION 3.8)
- project(Foo CXX)
- file(WRITE test.cpp "int main() {}")
- add_executable(foo test.cpp)
- set_target_properties(foo PROPERTIES BUILD_RPATH "./")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement