added main function in test.cpp and added (commented out line) in CMakeLists.txt

This commit is contained in:
Marcel M. Otte 2016-04-18 17:58:45 +02:00
parent b6a26a17a1
commit 50b8645f8c
2 changed files with 8 additions and 0 deletions

View File

@ -4,3 +4,5 @@ project(CmdLineOptions)
set(CMAKE_CXX_FLAGS "--std=c++14 -g -Wall") set(CMAKE_CXX_FLAGS "--std=c++14 -g -Wall")
add_library(CmdLineOptions_static STATIC CmdLineOptions.cpp) add_library(CmdLineOptions_static STATIC CmdLineOptions.cpp)
add_library(CmdLineOptions SHARED CmdLineOptions.cpp) add_library(CmdLineOptions SHARED CmdLineOptions.cpp)
#add_executable(CmdLineOptions_test CmdLineOptions_test.cpp)

View File

@ -9,4 +9,10 @@
namespace cmdlineoptions { namespace cmdlineoptions {
int main(int argc, char**argv)
{
return 0;
}
} /* namespace cmdlineoptions */ } /* namespace cmdlineoptions */