added main function in test.cpp and added (commented out line) in CMakeLists.txt
This commit is contained in:
parent
b6a26a17a1
commit
50b8645f8c
|
@ -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)
|
||||||
|
|
|
@ -9,4 +9,10 @@
|
||||||
|
|
||||||
namespace cmdlineoptions {
|
namespace cmdlineoptions {
|
||||||
|
|
||||||
|
int main(int argc, char**argv)
|
||||||
|
{
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
} /* namespace cmdlineoptions */
|
} /* namespace cmdlineoptions */
|
||||||
|
|
Loading…
Reference in New Issue