Library in VS C++ .Net erstellen
-
Hallo,
ich habe bislang immer unter Linux programmiert und möchte nun meine Library auf Windows portieren. Wie aber, erstellt man eine Library unter Windows mit Visual Studio?
Unter Linux erstelle ich ein Makefile wie z.B.
g++ -DLINUX -fPIC -DPIC -c Library.cpp
ar rcs libLibrary.a Library.ound linke diese wie z.B.
g++ -DLINUX -L. -o Library Test.cpp -lLibraryWie aber funktioniert dies in VisualStudio, so dass ich hinterher auch so etwas herausbekomme? Was muss ich dort für ein Porjektanlegen?
Wäre für eine kleine Erklärung dankbar.
Danke
-