aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2009-12-29 03:49:13 +0000
committerastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2009-12-29 03:49:13 +0000
commita5910cc62e67d313dd828792e4ade1b9d70423f6 (patch)
treed0460a0ffbbd4e8663dd322f9f8f013af0702309 /CMakeLists.txt
parente0ef5de9b8add735ed7fc05f5409dd5b2a248782 (diff)
downloadopt-utilities-a5910cc62e67d313dd828792e4ade1b9d70423f6.tar.bz2
git-svn-id: file:///home/svn/opt_utilities@107 ed2142bd-67ad-457f-ba7c-d818d4011675
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)