aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5a0e5f6..b91c3fb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 2.6)
-PROJECT(opt_utilities,CPP)
+PROJECT(opt_utilities,CXX)
add_subdirectory(core)
add_subdirectory(data_sets)
@@ -11,7 +11,9 @@ add_subdirectory(models)
add_subdirectory(statistics)
add_subdirectory(utilities)
add_subdirectory(vmodels)
-include_directories (${opt_utilities_SOURCE_DIR})
+include_directories (${PROJECT_SOURCE_DIR})
set(LIBRARY_OUTPUT_PATH,lib)
ADD_LIBRARY(opt STATIC interface/opt.cc)
+ADD_EXECUTABLE(test_fitter example/test_fitter.cpp)
+ADD_EXECUTABLE(test_optimizer example/test_optimizer.cpp)