Skip to content

Commit

Permalink
put executables into bin
Browse files Browse the repository at this point in the history
  • Loading branch information
oracle2025 committed Aug 13, 2015
1 parent b1194d4 commit baacbf3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Expand Up @@ -16,5 +16,7 @@ ExternalProject_Add(simple
set(SIMPLE_LIBS ${PROJECT_BINARY_DIR}/lib/libsimple.a)
include_directories(${PROJECT_BINARY_DIR}/include)

SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)

add_subdirectory(src)

2 changes: 2 additions & 0 deletions src/CMakeLists.txt
Expand Up @@ -2,3 +2,5 @@
add_executable(simple_demo simple_demo.cpp)

target_link_libraries(simple_demo ${SIMPLE_LIBS})

install(TARGETS simple_demo RUNTIME DESTINATION bin)

0 comments on commit baacbf3

Please sign in to comment.