Skip to content

Commit

Permalink
Fix C flags mixed with CPP flags
Browse files Browse the repository at this point in the history
  • Loading branch information
SRombauts committed Aug 6, 2014
1 parent e07e623 commit ba57819
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ if (MSVC)
set(CPPCHECK_ARG_TEMPLATE "--template=vs")
# disable Visual Studio warnings for fopen() used in the example
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
# Specific flags for multithread static linking
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /MT")
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /MTd")
# Flags for linking with multithread static C++ runtime
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} /MT")
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} /MTd")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /MT")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /MTd")
else (MSVC)
Expand Down
6 changes: 3 additions & 3 deletions TODO.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ Publish a versionned ZIP file in Google Project Mirror

Publish the Doxygen Documentation in the Github Pages (gh-pages branch)

Missing features in v0.5.0:
Missing features in v0.9.9:
- getColumnByName() (issue #23) ? std::map getRow() ?
- bind a SQLITE_STATIC value (string/blob)
- bind a dynamic value with zerocopy (unlike SQLITE_TRANSIENT) with custom deleter
- getColumnByName ? std::map getRow() ?

Missing documentation in v0.5.0:
Missing documentation in v0.9.9:
- explain the noncopyable property for RAII design
- comment on returning error code instead of exception that shall not be thrown when exepected (!?)

Expand Down

0 comments on commit ba57819

Please sign in to comment.