initial commit - linking static lib to executable

This commit is contained in:
dl92
2026-01-11 23:53:13 +00:00
parent a9d1275ad2
commit f8d7fdda5d
10 changed files with 74 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
add_subdirectory(TestB)

View File

@@ -0,0 +1,6 @@
add_executable(TestB)
target_sources(TestB
PRIVATE
testB.cxx
)

View File

@@ -0,0 +1,8 @@
#include "iostream"
int main()
{
std::cout<<"hello world"<<std::endl;
}