Skip to content

Commit

Permalink
Create subdirectory for id target
Browse files Browse the repository at this point in the history
  • Loading branch information
LegalizeAdulthood committed Mar 15, 2024
1 parent d130394 commit 580870f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
6 changes: 1 addition & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -382,11 +382,7 @@ target_link_libraries(libid PRIVATE helpcom os config Boost::boost)
target_link_libraries(libid PUBLIC config)
add_dependencies(libid native_help)

add_executable(id ${ID_EXECUTABLE_TYPE}
common/main.cpp
)
target_link_libraries(id PUBLIC libid)
install(TARGETS id DESTINATION bin)
add_subdirectory(id)

set_property(DIRECTORY PROPERTY VS_STARTUP_PROJECT id)

Expand Down
5 changes: 5 additions & 0 deletions id/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
add_executable(id ${ID_EXECUTABLE_TYPE}
main.cpp
)
target_link_libraries(id PUBLIC libid)
install(TARGETS id DESTINATION bin)
File renamed without changes.

0 comments on commit 580870f

Please sign in to comment.