Browse Source

output binaries in their own folder

master
Constantin Fürst 1 year ago
parent
commit
63f111b205
  1. 4
      test-project/CMakeLists.txt
  2. 0
      test-project/binaries/dml-test

4
test-project/CMakeLists.txt

@ -4,10 +4,12 @@ project(dml-test)
set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD 20)
include_directories("../DML/include/")
include_directories("../../DML/include/")
set(SOURCES main.cpp) set(SOURCES main.cpp)
add_executable(dml-test ${SOURCES}) add_executable(dml-test ${SOURCES})
target_link_libraries(dml-test libdml.a ${CMAKE_DL_LIBS}) target_link_libraries(dml-test libdml.a ${CMAKE_DL_LIBS})
install(TARGETS dml-test DESTINATION ${CMAKE_INSTALL_PREFIX})

0
test-project/dml-test → test-project/binaries/dml-test

Loading…
Cancel
Save