initial commit - linking static lib to executable
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
|
||||
add_executable(TestB)
|
||||
target_sources(TestB
|
||||
PRIVATE
|
||||
testB.cxx
|
||||
)
|
||||
@@ -0,0 +1,8 @@
|
||||
#include "iostream"
|
||||
|
||||
int main()
|
||||
{
|
||||
|
||||
std::cout<<"hello world"<<std::endl;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user